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

Re: [css3-flexbox][css3-align] directional keywords

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 30 May 2012 17:34:58 -0700
Message-ID: <CAAWBYDCVP5j6nC=MRUcGiRFXXSL+6vv6k1Kmbah7Se8yTqQUvw@mail.gmail.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Wed, May 30, 2012 at 5:30 PM, Alex Mogilevsky <alexmog@microsoft.com> wrote:
> If in older syntax we had something like this:
>
>        div {
>                display:flex;
>                flex-pack:end;
>                flex-align:start;
>        }
>        img {
>                flex-item-align:end;
>        }
>
> What will it be now?

div {
  display: flex;
  justify-contents: flex-end;
  align-contents: flex-start;
}
img {
  align-self: flex-end;
}

~TJ
Received on Thursday, 31 May 2012 00:35:47 GMT

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