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

`grid` shorthand resets the gutter properties, but you cannot set 
them.

So if you has the following css:
```css
  grid-gap: 20px;
  grid: 50px 50px / 100px 100px;
```

The gutters of your grid are reset to 0px.
You'd need to change the order of the properties in the declaration:
```css
  grid: 50px 50px / 100px 100px;
  grid-gap: 20px;
```

Then you'll have 20px gutters.

Note that `grid-template` shorthand doesn't reset the gutter 
properties.

See the examples: http://output.jsbin.com/ligonuv

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1036#issuecomment-279699823
 using your GitHub account

Received on Tuesday, 14 February 2017 12:54:50 UTC