[css3-flexbox] What the flex is basis?

If we would have real flex length units [1] then this

http://dev.w3.org/csswg/css3-flexbox/images/rel-vs-abs-flex.svg

can be defined simply as:

first case:

  span { width:1*; min-width:max-content; }
  span:last-child { width:2*;  }

and second case:

  span { padding:1*; min-width:max-content; }
  span:last-child { padding:2*;  }

without that mix of pathetic 'basis', 'grow' and
its antonym 'shrink'.

[1] http://www.terrainformatica.com/w3/flex-layout/flex-layout.htm

-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Friday, 3 August 2012 07:03:00 UTC