Lesson 7 of 18
⇄ CSS Flexbox
What You'll Learn
- How to activate Flexbox with
display: flex - justify-content, align-items, flex-wrap, gap, and flex-direction
- How to build navigation bars, card rows, and centered layouts
Quick Check
1. How do you activate Flexbox on a container?
2. Which property aligns items along the main axis (horizontal by default)?
3. Which value of justify-content puts equal space between items, with none at the edges?
4. What does flex: 1 on an item do?