23 CSS features you should know (and be using) by now

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb DesignUI32 min

About this video

Kevin Powell and Adam Argyle walk through 23 CSS features, from focus-visible and focus-within to aspect-ratio, scroll-snap and inset, with a linked CodePen demo for each. It suits front-end builders who want to use modern CSS in interfaces.

What you’ll learn

  • Apply focus-visible and focus-within to keyboard-friendly focus states
  • Control element sizing with aspect-ratio, object-fit and fit-content()
  • Build scroll behaviour with scroll-snap, scroll-padding and scroll-margin