CSS table row even and odd

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #EEE}