Set background to even rows

Set background to even rows

BY 09 Sep 2015 Web Code Snippet
Style table tr:nth-child(even) is setting style to every even row. If you want to set style to odd rows you should use nth-child(odd).
Written by