Topic: CSS Basics

The cascade – CSS


In general, if multiple rules are trying to modify a property, the rule that is farthest down a stylesheet gets applied when all of the rules have the same specificity.

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.