UI Foundations
0 / 6 completedPart 2 · 35 min practice
Layout and flow
Structure a page with the editor’s flow and box model.
Lesson
The visible box combines content, padding, border, and margin. Block, flex, and grid place children in a flow; save free positioning for cases that truly need it. Padding belongs inside a box, while margin separates it from neighbors.
Key ideas
- Content, padding, border, and margin
- Block and normal flow
- Fixed, fill, and hug sizing
- Intentional free positioning
Complete the previous part to unlock this challenge. You can still read this public lesson in the meantime. Visual foundations