:nth-child() CSS pseudo-class

The patterns of :nth-child() can sometimes be tricky to understand. Edit the selector pattern below to see how the selected elements change. Read about how it works on MDN.

{}