css select every other element

49

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
.item:nth-child(odd) .description {
    background-color: red;
}

Comments

Submit
0 Comments