The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › last-child of a class
http://demo.elcaminorealfutbol.org/our-board/
How would I apply the last-child rule to the last container to not show the bottom border? I tried: .member-holder:last-child { border-bottom: none; }
I ditched the clear class and used overflow:hidden instead, which answered my question.
border-bottom: 0; (or even none) should work fine.
sometimes :last-child might not be selecting the “last child” as you expect it to, so you might want to check out :last-of-type
Cheers