Fixes #30
Merge pull request #32 from troelskn/fix-rounded-edges

Don't rely on :last-child to style first/last element, as they may be hidden