0
<div id='stages'>
    <div class="stage">
    stuff here
    </div>
    <div class="stage">
    more stuff here
    </div>
    <div class="stage">
    more stuff here
    </div>
</div>

I want to put top-rounded corners on the first "stage", and bottom-rounded corners on the last "stage". Is this possible with CSS?

TIMEX
  • 259,804
  • 351
  • 777
  • 1,080

1 Answers1

-2

Use this selectors:

.stage:first-child
.stage:last-child
dhalfageme
  • 1,444
  • 4
  • 21
  • 42