CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 72 of 127 | |
Testing | Date | Revision |
NEGATED :root pseudo-class (ID #72) | 12-november-2001 | 1.1 |
This paragraph should have a green background and there should be no red anywhere.
*:not(:root) { background-color: lime } test, html, div * { background-color : red }
<div> <p>This paragraph should have a green background and there should be no red anywhere.</p> </div>