CSS: The cascade, specificity and inheritance

VirtualAddiction on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design15 min

About this video

This video explains the CSS cascade, specificity and inheritance, showing how browsers decide which rules win when several apply to an element. It uses hands-on examples to show how selector types affect those choices.

What you’ll learn

  • Explain how the cascade orders CSS rules when they conflict
  • Work out specificity to predict which style rule applies
  • Choose selector types that give more predictable styling