css target second child code example
Example 1: second child css
.YourElementsClass:nth-child(2) {
/* your styles */
}
Example 2: css nth child
:nth-child(3) { //the number is the child number you are targeting
//styles here
}
.YourElementsClass:nth-child(2) {
/* your styles */
}
:nth-child(3) { //the number is the child number you are targeting
//styles here
}