RE: [css3-flexbox] Best way to denote flexible lengths

> -----Original Message-----
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
> Sent: Wednesday, April 13, 2011 2:15 PM
> 
> Nah, using 'fr' (or 'fl', whatever) for absolute flex and
> 'flex(<pref>,<pos-flex>,<neg-flex>)' for relative flex.
> 

I think it is worth trying. It means

 2fr == flex(2,0,0px)

Right?

And would this mean that you are then satisfied with how easy it is to apply absolute flex, so the default value for preferred size in flex() function can be *initial value*, and "width:flex(2)"=="width:flex(2,0,auto)" ?

Alex

Received on Wednesday, 13 April 2011 23:49:28 UTC