Coding task · HTML and CSS course · Module 4: Flexbox
Vertical Layout with flex-direction
The flex-direction property controls the direction in which elements are arranged inside a flex container. The default value is row (horizontal). Use column to stack elements vertically from top to bottom, like layers of a pyramid.
Task
Use flex-direction: column to arrange three elements vertically, one below another.