Re: [csswg-drafts] [css-grid] Indefinite spans (#388)

The `span-minmax(2, 3)` proposal solves the use-case I run into most often:

- Create `auto-fit`/`auto-fill` repeating grid-columns
- Have "featured" items span multiple columns, but *only when the columns become available*

Currently, that requires an explicit media-query to change `grid-column-end` at the proper widths – and some math to calculate that proper width. I was imagining something like `span-available 3` - but `span-minmax()` provides even more control and flexibility.

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

Received on Tuesday, 21 May 2019 18:06:35 UTC