justify-content will distribute the object along the main axis of a flex container (ie horizontal or vertical)
An illustration of the five first justify-content keywords (from the css flexbox 1 specification) and their effects on a flex container with three colored items.
From the css flexbox 1
Added on Css align 3
content-distribution values illustration:
#container {
display: flex;
justify-content: space-between; /* Can be changed below */
}
#container {
display: flex;
justify-content: space-between; /* Can be changed below */
}
#container {
display: flex;
justify-content: space-between; /* Can be changed below */
}