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

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 UTC