Hey, anyone know when will .activated class be applied to an element?
I want to add “clicked” effect to my custom buttons and links, but the
:active pseudo selector doesn’t seem to work, and it seems like the only element that’s applied
.activated class when clicked is
However, since you can’t place an
<a> inside one another, there’s no way to achieve “clickable” within “clickable” effect, which is common in many apps.
Anyone got any idea how to resolve this?