Re: [csswg-drafts] [css-grid-2] subgrid and grid-gap

I’ve been thinking about this, and I don’t think we necessarily need the variable grid gap. The grid gap is effectively just another grid track.  The example Rachel gives could be achievable by removing the grid gap and instead adding in 20px grid tracks that remain empty.

This does make using auto-placement algorithm tricky though. I tried something like this [here](https://codepen.io/keithjgrant/pen/PRNzdQ), with named grid lines, but the grid items all align to the first of the `[col]` grid lines, since you have to specify `grid-column-start: col 2` to align to the second `[col]` grid line. It gets even more complex with `auto-fit` or `auto-fill`.

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

Received on Wednesday, 14 March 2018 17:06:24 UTC