logoalt Hacker News

cubefoxtoday at 7:51 AM0 repliesview on HN

I was forced to use this years ago because there is only a :nth-of-type selector, but no :nth-of-class. So whenever you need nth-of-class, switch to made-up tags and use nth-of-type. (A tag is a type.)