Answers for "odd childs css"

CSS
14

css odd even child

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

select even child css

li:nth-child(even) { /* Selects only even elements */
    color: green;   
}
Posted by: Guest on May-28-2020

Browse Popular Code Answers by Language