1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Flex into a Row or a Column with flex-direction

    flexboxFlexbox

    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.