The grid
CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.
Using grid
you specify one axis using grid-template-rows
or grid-template-columns
, you then specify how content should auto-repeat in the other axis using the implicit grid properties: grid-auto-rows
, grid-auto-columns
, and grid-auto-flow
.