CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 4 of 19 of the interactive tests category | |
Testing | Date | Revision |
:hover pseudo-class on links (ID #18c) | 2004-02-29 | 1.0 |
NOTE: User interaction is required for this test.
:link, :visited { color: navy; text-decoration: none; } :link:hover span { background-color : lime }
<p><a href="#foo">Hover <strong>here</strong> and the background of <span>this text should go green</span>.</a></p>