Specifies how much space between and around items along a flexbox’s cross-axis or a grid’s block axis
/*
align-content: center;
align-content: normal;
*/
start
items are packed right next to each other against the start edge of the alignment container in the cross axis
end
items are packed next to each other against the end edge of the alignment container in the cross axis
flex-start
items are packed next to each other against the edge of the alignment container depending not the container’s cross-start side. If the items are not children of a flex container, this value is treated like start.
flex-end
items are packed flush to each other
center
items are packed next to each other in the center of the alignment container along the cross axis
normal
items are packed in their default position
baseline, first baseline, last baseline
aligns the alignment baseline of the box’s first or last baseline set with the corresponding baseline in the shared first or last baseline set of all the boxes in its baseline-sharing group
space-between
the items are distributed evenly within the alignment container along the cross axis.
space-around
items are distributed evenly within the alignment container along the cross axis
Have a code example of align-content
? Submit a codepen.io demo and we'll showcase it here ↴