You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <aclass=propertydata-link-type=propdeschref=#propdef-gridtitle=grid>grid</a> property is a shorthand that sets
1850
-
all of the explicit grid properties
1851
-
(<aclass=propertydata-link-type=propdeschref=#propdef-grid-template-rowstitle=grid-template-rows>grid-template-rows</a>, <aclass=propertydata-link-type=propdeschref=#propdef-grid-template-columnstitle=grid-template-columns>grid-template-columns</a>, and <aclass=propertydata-link-type=propdeschref=#propdef-grid-template-areastitle=grid-template-areas>grid-template-areas</a>)
1852
-
as well as all the implicit grid properties
1853
-
(<aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-rowstitle=grid-auto-rows>grid-auto-rows</a>, <aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-columnstitle=grid-auto-columns>grid-auto-columns</a>, and <aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-flowtitle=grid-auto-flow>grid-auto-flow</a>)
1854
-
in a single declaration.
1855
-
If <aclass=productiondata-link-type=propdeschref=#propdef-grid-auto-rowstitle=grid-auto-rows><‘grid-auto-rows’></a> value is omitted,
1856
-
it is set to the value specified for <aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-columnstitle=grid-auto-columns>grid-auto-columns</a>.
1857
-
Other omitted values are set to their initial values.
1848
+
<p> The <aclass=propertydata-link-type=propdeschref=#propdef-gridtitle=grid>grid</a> property is a shorthand that sets
1849
+
all of the explicit grid properties
1850
+
(<aclass=propertydata-link-type=propdeschref=#propdef-grid-template-rowstitle=grid-template-rows>grid-template-rows</a>, <aclass=propertydata-link-type=propdeschref=#propdef-grid-template-columnstitle=grid-template-columns>grid-template-columns</a>, and <aclass=propertydata-link-type=propdeschref=#propdef-grid-template-areastitle=grid-template-areas>grid-template-areas</a>)
1851
+
as well as all the implicit grid properties
1852
+
(<aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-rowstitle=grid-auto-rows>grid-auto-rows</a>, <aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-columnstitle=grid-auto-columns>grid-auto-columns</a>, and <aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-flowtitle=grid-auto-flow>grid-auto-flow</a>)
1853
+
in a single declaration.
1854
+
If <aclass=productiondata-link-type=propdeschref=#propdef-grid-auto-rowstitle=grid-auto-rows><‘grid-auto-rows’></a> value is omitted,
1855
+
it is set to the value specified for <aclass=propertydata-link-type=propdeschref=#propdef-grid-auto-columnstitle=grid-auto-columns>grid-auto-columns</a>.
1856
+
Other omitted values are set to their initial values.
1857
+
1858
+
<pclass=note> Note: Note that you can only specify the explicit <em>or</em> the implicit grid properties in a single <aclass=propertydata-link-type=propdeschref=#propdef-gridtitle=grid>grid</a> declaration.
1859
+
The sub-properties you don’t specify are set to their initial value,
1860
+
as normal for shorthands.
1858
1861
1859
1862
<divclass=example>
1860
1863
<p>In addition to accepting the <aclass=propertydata-link-type=propdeschref=#propdef-grid-templatetitle=grid-template>grid-template</a> shorthand syntax for setting up the <adata-link-type=dfnhref=#explicit-gridtitle="explicit grid">explicit grid</a>,
0 commit comments