- From: MarkUK via GitHub <sysbot+gh@w3.org>
- Date: Thu, 25 May 2017 11:03:23 +0000
- To: public-css-archive@w3.org
I'm also in need of this capability. In my case there are a variable number of items laid out in an implicitly defined grid using auto-fit with minmax(). The result is a variable number of rows and columns (the latter varying with screen size), with items generally being auto-placed within them. The problem is the last item on the last row; I would like to span it to fill any "spare" space, but I don't know beforehand which column it will be in, nor how many columns it will need to span. I had hoped that something like one of the following would work, where "end-line" is a named line: `grid-column: auto / span -1;` `grid-column auto / span end-line;` I think it should be possible to specify that an item should have its start column set automatically, but then span to a particular end location (assuming the end column is to the right of the automatic start column). It's really just a variation on setting a fixed span, but where the value is dynamically calculated as "named-end-column minus computed-start-column" rather than being hard-coded. -- GitHub Notification of comment by MarkUK Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/388#issuecomment-303984029 using your GitHub account
Received on Thursday, 25 May 2017 11:03:30 UTC