The thing people get wrong about flex-basis

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb DesignUI9 min

About this video

A CSS tutorial that explains what flex-basis does and how it differs from width and height in flexbox layouts. It covers flex-direction changes and min and max constraints, and suits front-end designers and developers who already use flexbox.

What you’ll learn

  • Explain how flex-basis differs from width in a flex layout
  • Predict how flex-direction changes the effect of flex-basis
  • Use min and max constraints alongside flex-basis