Re: [csswg-drafts] [css-values] Re-adding min() and max()?

@fvsch I don't like that much nesting, but how about this (proposed 
syntax enhancement):

`h1 { font-size: calc(.5rem + 2vw + 2vh, min(1rem), max(5rem)); }`

Or this:

`h1 { font-size: calc(.5rem + 2vw + 2vh, minmax(1rem, 5rem)); }`

Or maybe even this:

`h1 { font-size: calc(.5rem + 2vw + 2vh, 1rem, 5rem); }`

If you didn't want a min, you could put a zero in that spot. If you 
didn't want a max, you could just leave it off, along with its 
preceding comma. 


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

Received on Friday, 13 January 2017 17:04:02 UTC