Re: [csswg-drafts] [css-grid] Control size of gutters explicitly

Any new information on when this might be discussed?

I think that the best syntax would be 

```css
grid-column-gap: repeat(1 rem, 0 rem, 2 rem, 0 rem);
```

Where the pattern is repeated.

One problem I do have is that you might want to have a fixed number of fixed widths and then have it repeating. 

Here there could be the following syntax:

```css
grid-column-gap: group(fixed(1 rem, 5), repeat(1 rem, 0 rem), fixed(2 rem, 3))
```

This syntax means the first 5 gaps have a width of 1rem, the last 3 gaps have a width of 2rem and the intervening gaps are switching between a width of 1rem and 0.

With this syntax it can be `group(fixed(), repeat())`, or `group(fixed(), repeat(), fixed())`, or `group(repeat(), fixed())`, or `repeat()`.

If there are less gaps then there are defined in the supplied `fixed` then the widths from the first are prioritized

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

Received on Wednesday, 4 April 2018 00:07:41 UTC