CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 73 of 153 of the static tests category | |
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>