0
How do I use CSS to create striped tables?
creating striped tables with CSS for html
1 Answer
+ 5
tbody tr:nth-child(odd) { background-color: #ccc; }
Nice solution if your browser supports css3.
(credits to Chris Coyier)
https://css-tricks.com/snippets/css/css3-zebra-striping-a-table/