Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

A Look at CSS Cascade Layers

Kevin Powell via YouTube

Overview

Explore the world of CSS Cascade Layers in this informative 18-minute video tutorial. Dive into the concept of cascade layers and learn how they work to solve specificity issues in CSS. Discover the process of creating your first layer, understand traditional CSS layers, and grasp how CSS layers function as sub-layers of the author layer. Investigate what happens when elements are not placed in a layer and how to create multiple layers effectively. Examine the implications of using the same layer in different locations and learn the technique of declaring layer order before implementation. Finally, uncover how the !important declaration affects the cascade layer hierarchy. Gain valuable insights from referenced articles and related resources to enhance your understanding of this powerful CSS feature.

Syllabus

- Introduction
- Specificity issues
- Creating our first layer
- Traditional CSS layers
- CSS Layers are like sub-layers of the author layer
- What happens when something isn't in a layer?
- Creating multiple layers
- What happens when we use the same layer in two difference places
- Declaring the order first, then using them later
- !important flips things around

Taught by

Kevin Powell

Reviews

Start your review of A Look at CSS Cascade Layers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.