CSS tutorial > CSS tables > Alternating color of table rows (:nth-child)

Alternating color of table rows (:nth-child)

Result:

Edit the code listed above and click the "GO" button to view the result.