Flex into a Row or a Column with flex-direction

Chris Achard
InstructorChris Achard

Share this video with your friends

Send Tweet

After setting display: flex on a parent element, you can use flex-direction to switch the container to be either a row or a column.

We also switch the body between row and column.