Please enable JavaScript to use CodeHS

Web Design and Development

Lesson 2.5 The Cascade

Description

In this lesson, students will learn how CSS rules are applied when more than one rule applies to an element.


Objective

Students will be able to:

  • Explain the order of precedence of CSS rules
  • Explain why CSS allows rules to cascade
  • Apply the order of precedence of CSS rules to achieve the desired styling of specific elements on the webpage