CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 23 of 153 of the static tests category | |
Testing | Date | Revision |
:target pseudo-class (ID #21b) | 2001-11-12 | 1.1 |
This paragraph should be green.
p { background-color: lime; } p:target { background-color: red; }
<p>This paragraph should be green.</p>