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