W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

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

From: Mike via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Oct 2016 15:47:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-252661369-1476114436-sysbot+gh@w3.org>
People have shared with me examples of how `min()` and `max()` 
functions in CSS might work in addition to a `map()` function. So to 
clarify, I don't think it needs to be one or the other.

Since calc() allow some `min` and `max` functionality (although not 
with whole numbers) It might be useful to consider other 
implementations of `min` and `max` including returning the min and max
 value of a set e.g. `max(14px, 1em, 1rem, 3vw)`.

-- 
GitHub Notification of comment by MadeByMike
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/544#issuecomment-252661369 
using your GitHub account
Received on Monday, 10 October 2016 15:47:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC