Duration
1 min
Access
Free
Transcript
Available

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.