apply color to nth child 5 code example
Example 1: css child multiple of 3
:nth-child(3n) {}
Example 2: select first 5 child css
li:nth-child(-n+5) {
color: green;
}
:nth-child(3n) {}
li:nth-child(-n+5) {
color: green;
}