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.
display: flex
flex-direction
row
column
We also switch the body between row and column.