Adding css to odd elemnts 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;
}