Lessons:20Length:1.2 hours
  • Overview
  • Transcript

6.2 Even and Odd Rows

When dealing with large tables it’s always a good idea to increase the readability by alternating the rows background color. For example, you could have a light gray background for the even rows and a while one for the odd rows.

In CSS, this is achieved through the nth-child selector.