A Comprehensive Guide to Flexbox Sizing

Envato on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI17 min

About this video

A tutorial on flexbox sizing properties (flex-grow, flex-shrink, flex-basis and flex) for building layouts that adapt to different screen sizes without relying on media queries. It is aimed at people who already work with CSS layout.

What you’ll learn

  • Control how flex items grow to fill available space
  • Set flex-shrink and flex-basis to adapt layouts to different viewports
  • Use the flex shorthand to size items responsively without media queries