Every 5th child with nth-child

Viewed 13168

I need to apply a style to every 5th li, including the first li.

I have tried:

nth-child(1n+5)

But this does not apply it to the first child. Where am I going wrong?

3 Answers
Related