W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

Re: [csswg-drafts] [css-grid-2] option to specify an optional sequence of track sizes

From: Phil McCloghry-Laing via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Nov 2018 03:57:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-439764718-1542599841-sysbot+gh@w3.org>
My original thought was wanting `auto-fill` (and `auto-fit`) to be able to work as "0 or more" repetitions instead of "1 or more".

That seems really powerful to me, mainly for defining components that can be laid out horizontally or vertically.

An example of this could be a sign in form that appears in different contexts (with different container widths) that should be either:
```
+---------------+---------------+---------------+
| Username      | Password      | Log In        |
+---------------+---------------+---------------+
```
or:
```
+---------------+
| Username      |
+---------------+
| Password      |
+---------------+
| Log In        |
+---------------+
```
but not:
```
+---------------+---------------+
| Username      | Password      |
+---------------+---------------+
| Log In        |               |
+---------------+---------------+
```

-- 
GitHub Notification of comment by pmccloghrylaing
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3328#issuecomment-439764718 using your GitHub account
Received on Monday, 19 November 2018 03:57:23 UTC

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