4 ms·
I'm confused... the performance issue is with the > selector, right? What does nesting have to do with that?
by taco_emoji 11y ago
I'm confused... the performance issue is with the > selector, right? What does nesting have to do with that?
- grvcoelho 11y agohttp://stackoverflow.com/questions/5797014/why-do-browsers-match-css-selectors-from-right-to-left/5813672#5813672 http://stackoverflow.com/questions/5797014/why-do-browsers-m... tl;dr browsers read css property right-to-left. the more specificity a selector has, the more DOM lookup the browser needs to do.