tbody tr:nth-child(odd) {
   background-color: #ccc;
}

Click the button below to see this snippet in action.

Give it a Try!

Back to CSS Snippets