CSS Flexbox: align-content
The align-content
property in CSS Flexbox is used to align multiple rows of flex items along the cross axis of the container (vertically if the flex-direction
property is set on row
). It applies only when flex-wrap
property is set to wrap
.
- stretch(default)
- flex-start
- flex-end
- center
- space-between
- space-around
- space-evenly
- safe – supported by Firefox
- unsafe – supported by Firefox
stretch
flex-start
flex-end
center
space-between
space-around
space-evenly
safe – supported by Firefox
unsafe – supported by Firefox
Related
- CSS Flexible Box Layout
- CSS Flexbox: flex-direction
- CSS Flexbox: flex-wrap
- CSS Flexbox: align-items
- CSS Flexbox: justify-content