HTML:
<div class="offer-section">
<div class="divider"></div>
</div>
<div class="offer-section">
<div class="divider"></div>
</div>
<div class="offer-section">
<div class="divider"></div>
</div>
<div class="offer-section">
<div class="divider"></div>
</div>
CSS:
.offer-section{
.divider { border: solid 1px #bdbdc3; height: 2px; margin-top: 5%; }
}
.offer-section:last-child {
.divider { }
}
Looking to include a divider at the bottom of each offer-section div except for the last one. However, the current code does not seem to achieve this. Any assistance would be greatly appreciated :)