:first-child and :last-child

Style the first and last elements in a group without needing extra classes or JavaScript.