CSS Selectors - beyond the very basics

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUIWeb Design19 min

About this video

A CSS tutorial covering selectors beyond the basics, including descendant and direct child combinators, pseudo-classes such as :first-child, :nth-child and :not(), and pseudo-elements like ::selection and ::marker. It suits people who already know element, class and ID selectors.

What you’ll learn

  • Target elements with combinators and nth-child selectors
  • Apply :not() and attribute selectors to narrow styling
  • Style text selection and list markers with pseudo-elements