Hacker News new | ask | show | jobs
by rafram 1043 days ago
Or nth-child(even), or nth-child(odd). (Keeping in mind that children are 1-indexed in CSS.)