CSS Flexbox Tutorial Flex-Direction: In this Flexbox tutorial, I provide a brief introduction to flexbox, and then discuss the flex-direction property of flex containers. To create a flex container. First set the display property to flex. Then add the flex-direction property which may be either row, row-reverse, column, or column-reverse. By default, it will be row. In this tutorial, you will learn about all of the options for flex-direction and how the flex items will flow along the main axis. The axis perpendicular to the main axis is called the cross axis. The main axis is horizontal when you set flex-direction to row or row-reverse. The main axis is vertical when you set flex-direction to column or column-reverse.
Thank you for viewing my tutorial. I hope this helps you understand flex-direction. Please like my Flexbox tutorial if it has helped you, and please subscribe to my channel Bootstrap CSS Girl.