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
  • 238,746
  • 336
  • 750
  • 1,061

1 Answers1

-2

Use this selectors:

.stage:first-child
.stage:last-child
dhalfageme
  • 1,242
  • 2
  • 14
  • 34