flex direction
Flex direction sets the axis in which the items are positioned. By default it is set to 'row' but optionally 'row-reverse', 'column' or 'column-reverse' can be used.
Output:
Element 1
Element 2
Element 3
copy