CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 27 of 182 | |
Testing | Date | Revision |
:active pseudo-class (ID #19) | 2001-11-03 | 1.1 |
NOTE: User interaction is required for this test.
The background color of the anchor should turn to green when it is activated and come back to normal when it is released.
a:active { background-color : lime }
<p>The background color of <a href="#foo">the anchor</a> should turn to green when it is activated and come back to normal when it is released.</p>