Note: To place flex-items inside a row, use the justify-content property.

Note: For the justify-content property to work, flex-items must have a specified widths. And the sum of all of them should fit inside the container.

Note: If the specified widths for flex-items are set using the flex property, justify-content will not work.

Note: The style-rule nth-of-type(even) is used to reverse the rows.

justify-content: flex-start
A flex item rownowrap
Another flex item rownowrap
A third flex item rownowrap
justify-content: flex-start
A flex item row-reversenowrap
Another flex item row-reversenowrap
A third flex item row-reversenowrap
justify-content: flex-end
A flex item rownowrap
Another flex item rownowrap
A third flex item rownowrap
justify-content: flex-end
A flex item row-reversenowrap
Another flex item row-reversenowrap
A third flex item row-reversenowrap
justify-content: center
A flex item rownowrap
Another flex item rownowrap
A third flex item rownowrap
justify-content: center
A flex item row-reversenowrap
Another flex item row-reversenowrap
A third flex item row-reversenowrap
justify-content: space-between
A flex item rownowrap
Another flex item rownowrap
A third flex item rownowrap
justify-content: space-between
A flex item row-reversenowrap
Another flex item row-reversenowrap
A third flex item row-reversenowrap
justify-content: space-around
A flex item rownowrap
Another flex item rownowrap
A third flex item rownowrap
justify-content: space-around
A flex item row-reversenowrap
Another flex item row-reversenowrap
A third flex item row-reversenowrap
justify-content: space-evenly
A flex item rownowrap
Another flex item rownowrap
A third flex item rownowrap
justify-content: space-evenly
A flex item row-reversenowrap
Another flex item row-reversenowrap
A third flex item row-reversenowrap