Striped Tables

3 methods

  • .odd or .even on every <tr> inside <tbody>
  • tr:nth-child(odd) & tr:nth-child(even)
  • Bootstrap

Slides

CSS Building Blocks: Selectors

To understand the striped tables, go over Child-Indexed Pseudo-Class Selectors, especially :nth-child, in these slides.

Striped Tables: Say Hello to Tony Tiger

WebSanity Top Secret