These CSS features give us more control on the cascade and specificity

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI43 min

About this video

A walkthrough of modern CSS cascade tools: source order and invalid declarations, specificity with modern selectors like :is(), :where() and :has(), cascade layers, and the @scope rule. It is aimed at developers who already write CSS and want more control over how styles apply.

What you’ll learn

  • Debug source order and invalid declarations in CSS
  • Control specificity using :is(), :where() and :has()
  • Organise styles with cascade layers and @layer