Is it possible to select, say, every fourth element in a set of elements?
Ex: I have 16 <div>
elements… I could write something like.
div:nth-child(4),
div:nth-child(8),
div:nth-child(12),
div:nth-child(16)
is there a better way to do this?
Is it possible to select, say, every fourth element in a set of elements?
Ex: I have 16 <div>
elements… I could write something like.
div:nth-child(4),
div:nth-child(8),
div:nth-child(12),
div:nth-child(16)
is there a better way to do this?