Check out example codes for "nth of type for every 4th after the 1st". It will help you in understanding the concepts better.

Code Example 1

:nth-of-type(4n+1)

Learn ReactJs, React Native from akashmittal.com