Re: Allow multiple values to be specified for max-width

On 07/07/2009 12:10 PM, François REMY wrote:
> From: "Belov, Charles" <Charles.Belov@sfmta.com>
>> This specification would be easier to implement if CSS would support
>> multiple max-widths as follows:
>>
>> max-width: 80ch 100vw;
>>
>> or
>>
>> max-width: min(80ch, 100vw);
>
> I strongly support this request.
>
> But it should NOT be a part of the max-width property. It should be as
> the "calc" function : a part of the CSS 3 Values standard.

min() and max() functions have been added to css3-values (actually added
awhile ago, I think).
   http://www.w3.org/TR/css3-values/

~fantasai

Received on Tuesday, 11 October 2011 00:32:27 UTC