CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 65 of 128 of the static tests category | |
Testing | Date | Revision |
NEGATED :checked pseudo-class (ID #70) | 11-july-2001 | 1.0 |
The checkbox should have a green background
input { background-color : red } input:not(:checked) { background-color : lime}
<p> <input type="checkbox"> The checkbox should have a green background</p>