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 |