Hacker News new | comments | show | ask | 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 | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: