Forums

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

Home Forums CSS :last-child, :nth-child

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

    Hi folks, at full browser width the last-child selector works and removes the right border from the last li element. At 640px width the navigation gets arranged on 2 lines. What I’d like to accomplish is to remove border from third li of first line also. I am trying with different variations of nth-child to no avail. Thanx. BTW. This the first time I am getting acquainted with those type of element properties.

    [Here’s . .](http://codepen.io/jiri/full/oeEHD “”) reduced case of it

    #121080
    jurotek
    Participant

    @ChrisP, thanx, darn it, I knew that should be able to do that and I did tried that one and it didn’t work for me. The reason was I had a space between child and (3)

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