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

> How about adding a new parameter? Just like `minmax(min-value, max-value, more-prior-item)` The third param `more-prior-item` specifies which one has the priority.
> 
> eg. `minmax(20%, 250px, 'min')` is equal to `minmax(20%, 250px)` 
> eg. `minmax(20%, 250px, 'max')` makes max wins over min, which could solve the maxwidth situation.
> 

I like this approach. However, the `'min'` case would be redundant because it's the default.
It could work only with specifying `max`.

What do you think?


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 22 November 2021 08:53:11 UTC