Flexbox for beginners | justify-content

VirtualAddiction on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design4 min

About this video

This short beginner tutorial explains the CSS justify-content property, which controls how flex items are aligned along the main axis of a flexbox layout. It suits people new to CSS layout on the web.

What you’ll learn

  • Use justify-content to align flex items along the main axis
  • Compare the justify-content values that control item placement