UI Foundations
0 / 6 completedPart 3 · 35 min practice
Flexbox
Use Flexbox to distribute a row of items with rhythm and alignment.
Lesson
Flex arranges items along a main axis and a cross axis. Direction chooses the main axis, justify distributes along it, align controls the cross axis, and gap creates shared spacing. Fill and hug let children respond to available space.
Key ideas
- Flex container and children
- Row and column
- Justify and align
- Gap, wrap, fill, and hug
Complete the previous part to unlock this challenge. You can still read this public lesson in the meantime. Layout and flow