Re: [csswg-drafts] [css-grid] Gap background splitting

In the given example, I see the gap between the columns twice as wide as gaps between the edges and the columns. This is not how `gap` works. I'd say that these free space areas are not gutters at all, but the extra grid tracks used for negative space (like in this well-known example [of the full bleed grid layout](http://site29.wdd.francistuttle.edu/_cssnewbie/06-04.html)) or. at least, the middle gutter is actually two gutters around a virtual zero-width column, and we can attach the grid items to this virtual column lines (like in this [JSfiddle example](https://jsfiddle.net/eksrk271/1/)). We can even use separate (pseudo-)elements for this, attaching the content and the decorations to different grid lines (as shown in the last row of the example), to avoid need to recalculate paddings for grid items.

So I don't see the need to introduce extra complication like suggested here. I'm for keeping the gutter concept as simple as it is, and using existing grid features for creating areas with background.

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

Received on Wednesday, 27 December 2017 10:17:26 UTC