<div class="btn-today glow three-btn"> <span class="rb">本 <span class="rt">ben</span> </span></div>
Copy after login
.btn-today:active{ background: rgb(255,255,255);}
Copy after login
When I click 'this' inside
, the style btn-today:active cannot be activated. Clicking outside can activate it.
Is there any way to solve this problem? Thanks. . . .
Reply to discussion (solution)
should be .rb:active{
background: rgb(255,255,255);
}
.btn-tody>span{
pointer-events: none;
}
.btn-tody>span{
pointer-events : none;
}
Can pointer-events ignore upper-level events or ignore and activate lower-level events? I tried it and there was no change.
I want the background of the container to change color. On the same page, IE has this problem, but FF and Chrome have no problem