1/17/2011
•
EN
Styling elements based on sibling count
A CSS technique using :nth-child and :nth-last-child to style elements based on sibling count with improved efficiency.