I have a list of divs which are used as a FAQ. Sometimes the divs are listed below each other, sometimes there is text between them. When they are listed below one other, I have
.faq:nth-child(3) { border-bottom:none; }
More info here