Put in order · HTML and CSS course · Module 4: Flexbox
Axis Change with flex-direction: column
Arrange the steps showing how changing flex-direction affects the Flexbox axes:
Items to put in order
- Main axis runs vertically -> justify-content works vertically
- Set display: flex (default flex-direction: row)
- Change to flex-direction: column
- Main axis runs horizontally -> justify-content works horizontally
You can check the correct answer by solving this task in the CodeWorlds game.