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

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

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Dec 2017 10:17:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-354090984-1514369842-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC