css style second child code example
Example 1: second child css
.YourElementsClass:nth-child(2) {
/* your styles */
}
Example 2: select first 5 child css
li:nth-child(-n+5) {
color: green;
}
.YourElementsClass:nth-child(2) {
/* your styles */
}
li:nth-child(-n+5) {
color: green;
}