:first-child pseudo-classDaniel GlazmanCSS 3 Module W3C Selectors Next :last-child pseudo-class Previous :nth-last-of-type() pseudo-class Test # 40 of 276 of the static tests category Testing :first-child pseudo-class ID 32 Date 2004-03-03 Revision 1.0
green cell
1.2
1.3
green cell
2.2
2.3
green cell
3.2
3.3
This paragraph contains some text
and a span that should have a green background