Step up your CSS game using these selectors and combinators

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI20 min

About this video

Kevin Powell walks through advanced CSS selectors, including the universal, direct child, general sibling, adjacent sibling and attribute selectors. He shows how they can reduce the need for extra CSS and nested rules.

What you’ll learn

  • Apply the universal selector and direct child combinator in CSS
  • Target siblings with general and adjacent sibling selectors
  • Style elements by attribute with attribute selectors