CSS 3 Selectors tests

(c) Disruptive Innovations 2008
Last update: 2008-06-06

 

 
the previous square should be green when the checkbox is checked and become red when you uncheck it
the previous square should be green when the checkbox is NOT checked and become red when you check it
the three last squares should be green and become red when the pointer hovers over the white square
the last square should be green and become red when the pointer hovers over the FIRST white square