Control the direction of your flexbox layout, with the flex-direction property
Some flexbox properties apply to the flex container only, while some apply only to the flex items.
The flex-direction property applies to the flex container only.
The default value for flex-direction is row.
To reverse the direction flex items in a row, use the value row-reverse.
The value column rotates the main axis so that flex items are laid out vertically.
The flex container can break flex items onto multiple lines and allow them to wrap as needed.
With the flex-wrap property, you can control whether the flex container is a single-line or multi-line layout.
The flex-wrap property is for flex containers only.
With the flex-wrap property, you can control whether the flex container is a single-line or multi-line layout.
The value wrap breaks the flex items into multiple lines.
Like the row-reverse property, you can swap the top-to-bottom direction of a column with the value column-reverse.