CSS 3 Module <== Test # ==>
W3C Selectors 88 of 182
Testing Date Revision
NEGATED :checked pseudo-class (ID #70) 2004-02-24 1.1

Everything in this paragraph should have a green background

input, span { background-color : red }
input:not(:checked), input:not(:checked) + span { background-color : lime}
<p>
<input type="checkbox"> <span>Everything in this paragraph should have a green background</span></p>