Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

grid

a two-dimensional CSS layout mode that places items into rows and columns at the same time.

A little more detail

display:grid on a parent makes its direct children grid items. Tracks are defined with properties such as grid-template-columns. The fr unit shares free space, but its default minimum is auto, so minmax(0, 1fr) is the version that is allowed to shrink. Use grid when rows and columns both matter. Use flexbox for a single axis.

See it in practice

These lessons pair the idea with examples you can change and run.