...

/

The Concept of Cascade and Inheritance in CSS

The Concept of Cascade and Inheritance in CSS

Understanding the concept of cascade and Inheritance is important to understanding how CSS works. In this lesson we will take a look at what these concepts are.

We'll cover the following...

Every successful CSS developer understands cascade and inheritance. It’s really pivotal. Now let me explain it to you.

Inheritance

The English word Inheritance means to receive something from a former owner. Usually, a predecessor, ancestor, parent or former owner.

The same may be said of CSS. Inheritance in CSS means that styles from parent elements can be inherited by children elements. i.e without specifying the style on the children element themselves. ...