Forums

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

Home Forums CSS nth-child

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #244879
    Iraja_24
    Participant

    Hi there. I am trying to make the every third item move to next row. I successfully did that using nth-child(2n+1). However that created a problem for me which makes every fourth item move to the next row leaving the space empty. I don’t know why that happens. Can you guys please eliminate the fourth item empty space and move the fourth item on it’s place please? Here is the website link and the problem I have (Core Features): https://smeweb-solutions.com/?page_id=4684

    #244883
    Paulie_D
    Member

    Can you make a reduced demo in Codepen.io?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.