New CSS Units! Container Query Units explained

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb DesignUI14 min

About this video

A CSS tutorial explaining container query units and container queries, with examples of component-based responsive layouts, range syntax, named containers and container-type size. It is aimed at front-end developers and designers who build responsive interfaces.

What you’ll learn

  • Write container queries to style components based on their container's size
  • Use container query units such as cqw and cqi in responsive layouts
  • Apply named containers and container-type size in flexbox and grid layouts