CSS 3 Module <== Test # ==>
W3C Selectors 75 of 156
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>