vanseodesign.com
Submitted by: Steven Bradley

Understanding Style Precedence in CSS: Specificity, Inheritance, and the Cascade

A better understanding of which css styles take precedence can lead to less frustration with css, cleaner code, and more organized css. This post looks at css rules of specificity to help you know which css rule will apply to a given html element.

direct link