stretch (default)
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
See how align-content
controls the alignment of wrapped flex lines.
This property only works when items wrap and creates multiple rows or columns.
Centers items within their row
Centers the rows themselves
align-content
controls the spacing and alignment of wrapped flex linesflex-wrap: wrap
)stretch
- Lines stretch to fill space (default)flex-start
- Lines packed to startflex-end
- Lines packed to endcenter
- Lines centeredspace-between
- Equal space between linesspace-around
- Equal space around lines