Posts from 15 March 2013

All Posts from 15 March 2013

CSS :nth-child selector

The :nth-child CSS selector (or pseudo-class) can be pretty useful, for example to select odd and even rows in a table.

We apply a variety of styles to show some different effects.

Setting Up

The examples that follow use this HTML snippet:

...
*