CSS Basics: Specificity Rules
CSS specificity rules tutorial explains which CSS rules the browser will be used to render elements when the stylesheet contains conflicting rules. An example demo is also included in the tutorial to demonstrate rule cascading, specificity orders, and rule exception.