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?
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?