.alt-table tr:nth-child(odd) { background-color: #f2f2f2; } .alt-table tr:nth-child(even) { background-color: #f9f9f9; }