CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 31 of 182 | |
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>