1 2 3 4 5
/* Source: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-d4.html */ #two:first-child { background: red; } #three:last-child { background: lime; }