CSS 3 Module <== Test # ==>
W3C Selectors 98 of 296
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"></input> <span>Everything in this paragraph should have a green background</span></p>