CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 73 of 150 of the static tests category | |
Testing | Date | Revision |
NEGATED :checked pseudo-class (ID #70) | 2001-07-11 | 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>