Flexbox for beginners | the axis matter

VirtualAddiction on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerDesign Engineering4 min

About this video

A beginner tutorial on how the flexbox main and cross axes work and how flex-direction changes the behaviour of justify-content and align-items. It is aimed at people who find flexbox axes confusing.

What you’ll learn

  • Explain how flex-direction changes the main and cross axes
  • Predict how justify-content and align-items behave in a row or column
  • Align flex items along the axis that matches the layout direction