CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 77 of 153 of the static tests category | |
Testing | Date | Revision |
NEGATED :root pseudo-class (ID #72b) | 2001-11-27 | 1.0 |
This paragraph should have a green background and there should be no red anywhere.
html:not(:root), test:not(:root) { background-color: red; } p { background-color: lime; }
<div> <p>This paragraph should have a green background and there should be no red anywhere.</p> </div>