Re: [csswg-drafts] [css-grid-2] Allow minmax where max wins over min

I'm fine with the proposal, I'd just note that for non-grid things, we have `[min-width, width, max-width]`. 

Adding a `min-wins` keyboard that toggles the first argument of `minmax` between `min-width` and `width` is nice, but it means you still can't represent a scenario where you want all three of them (`min-width`, `width` and `max-width`).

My preference would be a three-argument `minmax` where the first argument would be the `min-width` equivalent, the second the `width` equivalent, and the third and last the `max-width` equivalent. This would allow you to size a column as 1fr but not smaller than 200px and not bigger than 500px `minmax(200px, 1fr, 500px)`

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

Received on Tuesday, 22 May 2018 22:30:03 UTC