Unfamiliar CSS patterns that improve on the classics

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb DesignUI23 min

About this video

A Kevin Powell video that reviews less familiar CSS layout patterns, such as width: min() for wrappers, custom properties, main-with-sidebar layouts and the flow class, and argues they can improve on common approaches like flex: 1 for equal columns. It suits front-end developers and designers who already write CSS.

What you’ll learn

  • Use width: min() to build a flexible content wrapper
  • Apply the flow class (* + *) to space stacked content
  • Build a main-with-sidebar layout that responds to a child's size