nth-child 2n code example
Example 1: css nth child
:nth-child(3) { //the number is the child number you are targeting
//styles here
}
Example 2: nth of type for every 4th after the 1st
:nth-of-type(4n+1)
:nth-child(3) { //the number is the child number you are targeting
//styles here
}
:nth-of-type(4n+1)