Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Nth of Type CSS Selection Reply To: [Solved] Nth of Type CSS Selection

#236110
Paulie_D
Member

However, what I think you are asking, (after thinking about it)…is the pattern….which would be:

li:nth-of-type(4n),
li:nth-of-type(4n+1) {
   /* your styles here */
}

http://codepen.io/Paulie-D/pen/mVEYoa