CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 29 of 165 | |
Testing | Date | Revision |
:target pseudo-class (ID #21c) | 12-november-2001 | 1.1 |
This page should be green.
:root { background-color: red; } :target { background-color: green; }
<p>This page should be green.</p>