<a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5797014&#x2F;why-do-browsers-match-css-selectors-from-right-to-left&#x2F;5813672#5813672" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5797014&#x2F;why-do-browsers-m...</a><p>tl;dr browsers read css property right-to-left. the more specificity a selector has, the more DOM lookup the browser needs to do.