css odd even child
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
Source:www.w3.org
css select every other element
.item:nth-child(odd) .description {
background-color: red;
}
Source: stackoverflow.com
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
.item:nth-child(odd) .description {
background-color: red;
}