Introduction to the Cascade

Let's dig deeper into the "C" in CSS and get an overview of the cascade.

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.

Create a free account to access the full course.

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