Specifics on CSS Specificity

If there are two different CSS selectors that affect the same page element, how does the browser decide which to honor? It follows a standardized set of CSS specificity rules. This article goes a little more in depth on that subject and shows you how to calculate those values in your own CSS.

direct link