Hacker News new | past | comments | ask | show | jobs | submit login

Nicely done -- this reminds me of a technique outlined by Andre Luis and Lea Verou here: http://lea.verou.me/2011/01/styling-children-based-on-their-...

Building on these selectors and giving them meaningful names is a nice way of taking it a step further.




Lea Verou's article is from 2011 and this article is basically a repost from 2015.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: