Answers for "css select every other element"

CSS
12

css odd even child

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
Posted by: Guest on February-26-2020
0

css select every other element

.item:nth-child(odd) .description {
    background-color: red;
}
Posted by: Guest on August-25-2021

Code answers related to "css select every other element"

Browse Popular Code Answers by Language