bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/CSS/Modern Layout
CSS•Modern Layout

CSS Flexbox justify-content

CSS justify-content Property

The justify-content property aligns the flex items along the main-axis (horizontally).

This property can have one of the following values:

  • center
  • flex-start (default)
  • flex-end
  • space-around
  • space-between
  • space-evenly
center
flex-start
flex-end
space-around
space-between
space-evenly

Previous

Responsive Web Design - The Viewport

Next

CSS Grid Tracks