Two simple layouts that work better with Grid

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

Kevin Powell compares CSS Grid with flexbox by building two simple layouts in both, showing where Grid is easier to write, including auto-fit behaviour and custom properties. It is aimed at developers and designers who already know basic CSS.

What you’ll learn

  • Build a responsive card layout with CSS Grid and auto-fit
  • Compare how the same layout is written with flexbox
  • Decide when Grid is simpler than flexbox for a simple layout