Re: [csswg-drafts] using special values like max-content in functions (#5554)

See https://drafts.csswg.org/css-values-5/#calc-size
You can use `width: calc-size(max-content, max(size, 500px))`.
Or in practice, `width: max-content; min-width: 500px` is widely supported.

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


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

Received on Sunday, 27 October 2024 10:09:29 UTC