7 ms·
The CSS selector length myth
- benlinton 13y agoWhile 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/ http://engineering.appfolio.com/2012/11/16/css-architecture/