a tag odd css code example
Example 1: select even child css
li:nth-child(even) { /* Selects only even elements */
color: green;
}
Example 2: select odd child css
li:nth-child(odd) { /* Selects only odd elements */
color: green;
}
li:nth-child(even) { /* Selects only even elements */
color: green;
}
li:nth-child(odd) { /* Selects only odd elements */
color: green;
}