place-items vs place-content Playground

Grandma Marni’s compartment table is a real grid: set the tracks, place-items, place-content and place-self on the egg crate, and the browser measures what…

Why it matters

Alignment is CSS confusion source number one: justify or align, items or content, why justify-items does nothing in flex. Once you see the two layers move differently (inside a cell vs the cells themselves) and the rule justify = inline axis, align = block axis, you learn the system once.

The key idea

*-items arranges inside the cells, *-content arranges the cells

Common mistakes

Try it in this playground