W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: [css-flexbox] Computation Algorithm

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 10 May 2010 20:45:42 -0700
Message-ID: <AANLkTin_WN_WjOn_WL87rPUrxKnNx8ra1X9BcjTwf2FK@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: robert@ocallahan.org, www-style@w3.org
On Mon, May 10, 2010 at 8:43 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> Is there any combination of width/flex/box/overflow that will allow
> to declare
> one element to be twice wider than another?

.one { width: 0; box-flex: 1; }
.two { width: 0; box-flex: 2; }

(Assuming both are children of a flexbox, of course.)

~TJ
Received on Tuesday, 11 May 2010 03:46:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT