CSS Pseudo-class :active
This selector selects an element for a period in which it is activated. The most common example is the clicking on a Hyper-link in an HTML-file. As long as the mouse-button is pressed down, the link is active.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
All | All | All | All | All |