✒️
Boost Your CSS Skills
  • CSS Basic Patterns
  • Getting to know CSS
  • CSS Layout
  • The Cascade
    • Specificity
    • Inheritance & Specificity
    • Inheritance
    • The Cascade & Global Scope
  • The Box Model
  • Lists
  • Selectors
    • Combining,Grouping & Attribute Selectors
    • pseudo-classes & pseudo-elements
    • Custom borders
      • Padding
  • Positioning Content
    • Absolute Positioning
    • Relative Positioning
    • Containing Floats
    • Clearing & Containing Floats
    • Inline-Block
Powered by GitBook
On this page

Was this helpful?

The Cascade

What is essential to know exactly how styles are rendered. Specifically, how different types of selectors work and how the order of those selectors can affect how our styles are rendered.

It is also important to understand a few common property values that continually appear within CSS, particularly those that deal with colour and length.

Let's begin by breaking down exactly how styles are rendered by looking at what is known as the cascade and studying a few examples of the cascade in action. Within CSS, all styles cascade from the top of a style sheet to the bottom, allowing different styles to be added or overwritten as the style sheet progresses.

PreviousCSS LayoutNextSpecificity

Last updated 4 years ago

Was this helpful?