CSS flex-direction Property

The css flex-direction property describes how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.

Syntax for flex-direction property

row | row-reverse | column | column-reverse | initial | inherit