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