W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

[csswg-drafts] [css-grid] Setting of gutter properties when using the 'grid' shorthand

From: Chen Hui Jing via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Feb 2017 11:08:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-207485565-1487070513-sysbot+gh@w3.org>
huijing has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid] Setting of gutter properties when using the 'grid' 
shorthand ==
With reference to [7.8 Grid Definition Shorthand: the 'grid' 
property](https://www.w3.org/TR/css-grid-1/#grid-shorthand), which 
says

> The grid property is a shorthand that sets all of the explicit grid 
properties (grid-template-rows, grid-template-columns, and 
grid-template-areas), all the implicit grid properties 
(grid-auto-rows, grid-auto-columns, and grid-auto-flow), and the 
gutter properties (grid-column-gap and grid-row-gap) in a single 
declaration.

The note below then states, “Also, the gutter properties are reset by 
this shorthand, even though they can’t be set by it.”

So, is it possible to set the gutter properties or not? If so, how? 
The grid-template syntax does not cater for setting of grid gaps.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1036 using your GitHub 
account
Received on Tuesday, 14 February 2017 11:08:51 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:29 UTC