The last property that can be applied to the flex container is the Align content property. The Property aligns the line of content along with the cross axis this is sort of a mix of justify-content and align-items. It distributes additional space but along the cross axis.
and the html will be:
<div class="container align-content-stretch"> ...
After this what we will get to display is:
So the second value we can specify is flex-start. This pulls the line to the beginning of the cross axis.
<div class="container align-content-start"> ...
Similar to flex-start we also have flex-end. Flex end pushes the item to the end of the cross axis.
<div class="container align-content-end"> ...
The another value is center which centers the content on the cross axis.
<div class="container align-content-center"> ...
The another value is Space Between which takes all the extra space and puts in between the line.
<div class="container align-content-space-between"> ...
The finally we also have Space Around which distributes the space around the line. so the center portion has twice the space as the edges.
<div class="container align-content-space-around"> ...
See the Pen
Align Content Property – Flex by rehmaanali (@geekstrick)