Introduction to the Cascade

Digging Deeper into the "C" in CSS

We'll cover the following

Cascading style sheets

What exactly does cascading mean?

To answer this question, let’s start with an exercise.

Exercise

Add CSS, and write two rules:

  1. Select for p elements, and give the rule a color property with the value blue
  2. For this rule select for p elements again, and give it a color property with the value orange

Pause and think: With these rules in place, what color will p elements be?

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy