Flex: 1 probably doesn't work the way you think it does

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateWeb DesignUI1 min

About this video

A short that explains a gotcha with flex: 1 in CSS flexbox, which is commonly used to make equal-width columns but does not always behave as expected.

What you’ll learn

  • Identify the gotcha that stops flex: 1 from giving equal columns