CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 118 of 182 | |
Testing | Date | Revision |
NEGATED :enabled:disabled pseudo-classes (ID #144) | 2001-11-12 | 1.0 |
This paragraph should have a green background.
div :not(:enabled):not(:disabled) { background: lime; } p { background : red;}
<div> <p>This paragraph should have a green background.</p> </div>