Understanding the CSS Cascade

4.7 Average Customer Rating

Demystify CSS order, specificity and origin.

  • 9 Videos
  • 0 hours 48 minutes
  • 3746 Happy Students

About the course

In CSS, the cascade is everything — there’s a hint why in its name. If you don’t understand how CSS rules are applied by browsers, you are in for a world of pain.

Over a series of five lessons, you’ll learn how browsers sort declarations to determine which selectors will “win”. The course includes a series of hands-on exercises on all aspects of the cascade from user style sheets to !important rules, specificity and more.

This course is taught by Russ Weakley, with a technical review by Aurelio De Rosa.

  • 9 Videos
  • 0 hours 48 minutes
  • 3746 Happy Students

Courses Outline

Lesson 1: Getting Started
Free
Introduction to this Course
2:10
Types of Style Sheets, Normal vs/ Important Declarations & Conflict
5:08
Lesson 2: Sorting by origin and importance
Gathering and Sorting Declarations & Exercise
9:29
Lesson 3: Specificity
Determining the Selector Weight
9:07
Exercise on Specificity
9:35
Lesson 4: Order
Determining the Order Specified & Exercise
6:16
Lesson 5: The Future
The CSS3 Cascade
4:47
Lesson 6: Postscript
Override Declarations
2:01
Course Resources
  • 9 Videos
  • 0 hours 48 minutes
  • 3746 Happy Students