CSS Grid vs Flexbox in 4 Minutes: Which to Use

LearnCoachAssistWatch on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design4 min

About this video

Builds the same six-tile layout with flexbox and with CSS Grid, then explains when to use each, with grid for the page and flexbox inside it. It is aimed at beginners learning CSS layout.

What you’ll learn

  • Build the same six-tile layout with flexbox and with CSS Grid
  • Wrap items in one row at a time with flex wrap and gap
  • Place items across columns with grid template columns and column spans