Interactive playground to learn and experiment with CSS Grid properties
.grid-container { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 100px); gap: 10px; justify-items: stretch; align-items: stretch; justify-content: start; align-content: start; }
fr units create flexible tracks that share available space.
justify-* controls horizontal alignment, align-* controls vertical.
*-items affects individual grid items, *-content affects the entire grid.
auto-fit/auto-fill with minmax() creates responsive grids.