The new CSS pseudo-classes explained - :is() :where() :has()

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUIWeb Design14 min

About this video

Explains the CSS pseudo-classes :is(), :where() and :has(), with a look at how each one works and their browser support. Aimed at web developers who already write CSS.

What you’ll learn

  • Use :is() to shorten repeated selector lists
  • Apply :where() to keep selector specificity low
  • Target parent elements with :has()