CSS 3 Module <== Test # ==>
W3C Selectors 28 of 148 of the static tests category
Testing Date Revision
:checked pseudo-class (ID #25) 2001-07-11 1.0

The checkbox should have a green background

input { background-color : red }
input:checked { background-color : lime}
<p>
<input type="checkbox" checked="checked"> The checkbox should have a green background</p>