CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 161 of 182 | |
Testing | Date | Revision |
Parsing: :not and pseudo-elements (ID #178) | 2003-06-22 | 1.0 |
This line should be green.
div { color: green; } p:not(:first-line) { color: yellow; background: red; } p:not(:after) { color: yellow; background: red; content: ' THIS TEST HAS FAILED! '; }
<div> <p>This line should be green.</p> </div>