Hacker News new | ask | show | jobs
The CSS selector length myth (onderhond.com)
3 points by onderhond 4767 days ago
1 comments

While we probably shouldn't worry about long CSS selectors due to performance issues, we should avoid them for other reasons.

For instance, because it's considered a best practice to avoid "Modifying Components Based On Who Their Parents Are". Please see this article: http://engineering.appfolio.com/2012/11/16/css-architecture/