CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 24 of 153 of the static tests category | |
Testing | Date | Revision |
:target pseudo-class (ID #21c) | 2004-01-24 | 1.2 |
This page should be green.
:root { background-color: green; } :target { background-color: red; }
<p>This page should be green.</p>