CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 86 of 182 | |
Testing | Date | Revision |
NEGATED :enabled pseudo-class (ID #68) | 2004-03-03 | 1.1 |
button { background-color : red } input { background-color : red } button:not(:enabled) { background-color : lime } input:not(:enabled) { background-color : lime }
<p> <button disabled="disabled">A button (disabled) with green background</button> <br> <input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"> </p>