New concepts
The clip-path property, basic shape functions, clipping photographs, and keeping text inside the visible region.
What changes after CSS Variables?
Earlier chapters style full rectangular boxes. This chapter hides parts of an element’s paint with a geometric mask while the layout box stays the same size.
overflow: hidden and border-radius remain useful; clip-path unlocks non-rectangular silhouettes.
Lessons
Checkpoint
Create three cards or swatches that use at least two different shape functions (for example circle and polygon). Clip one photograph. Confirm all text remains inside the visible region and that layout space still matches the unclipped box.