Advanced CSS | Understanding CSS pseudo class has( )

VirtualAddiction on YouTubeWatch on YouTube

SaveMark complete

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

AdvancedDesign Engineering20 min

About this video

Explains the CSS :has() selector, which selects an element based on the descendants it contains, and shows how to use it. The video also covers fallback content for browsers that do not yet support it.

What you’ll learn

  • Select parent elements based on their descendants with the CSS :has() selector
  • Write fallback styles for browsers that do not yet support :has()