Left, right, up, down
flex-direction

Define the layout direction for a flexible container's elements.
Property values
This property is used to specify one aspect of an element that serves as a flexbox container.
Elements in a flexible container are laid out in one of four directions: left or right or up or down. Specify the direction using one of these keywords:
column | Flow elements from left to right |
column-reverse | Flow elements from right to left |
row | Flow elements from top to bottom |
row-reverse | Flow elements from bottom to top |
Examples
/* flow from left to right */
display: flex;
flex-direction: column;
/* flow from right to left */
display: flex;
flex-direction: column-reverse;
/* flow from top to bottom */
display: flex;
flex-direction: row;
/* flow from bottom to top */
display: flex;
flex-direction: row-reverse;