Search⌘ K

Align-items Solution

Explore how to apply the align-items property in vertical Flexbox containers to control the height and width of flex items. This lesson helps you understand how to adjust flex-direction, rename classes, and manage item dimensions to create well-aligned vertical layouts. Practice the solution for better mastery of Flexbox alignment.

Exercise 2: align-items vertical flex containers

The following changes are needed for the solution:

  • Change the width and the height of flex-item elements.
...