styling li using child selector code example
Example: select even child css
li:nth-child(even) { /* Selects only even elements */
color: green;
}
li:nth-child(even) { /* Selects only even elements */
color: green;
}