Topic: CSS Basics

Specificity – CSS

Preview

In CSS, selectors with higher specificity will override selectors with lower specificity when they are modifying the same properties. The order of specificity from lowest to highest is type selector, class selector, and ID selector.

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