Description
The
grid
andgrid-template
properties are shorthands that can be used to set all three explicit grid properties (grid-template-rows
,grid-template-columns
, andgrid-template-areas
) at the same time. Thegrid
shorthand also resets properties controlling the implicit grid, whereas thegrid-template
property leaves them unchanged.
https://drafts.csswg.org/css-grid-2/#explicit-grids
Because there is at the same time, I assume that set all three explicit grid properties means that setting the shorthand will result to a declaration for each sub-property, possibly to its initial value, and whether or not an explicit value is specified in the shorthand input value for each sub-property.
Then I would like to suggest replacing resets by sets because grid
also allows to set grid-auto-*
from a value explicitly specified in the input value.