Re: [css-flexbox] abspos & align-self: stretch

On 04/22/2016 12:56 AM, Tab Atkins Jr. wrote:
> On Thu, Apr 21, 2016 at 2:39 PM, Christian Biesinger
> <cbiesinger@google.com> wrote:
>> For align, it's only align-items/align-self, but not align-content.
>> Tested in Edge 20.10240.16384.0
>>
>> For justify it is justify-content as you say.
>
> Ah, right, align-content happens to not have an effect, because the
> abspos is treated as being the only flex item, so the flexbox is
> single-line for these purposes, and the flex line is stretched to the
> size of the flexbox (so there's no free space to align the flex line
> with).

Whether a flex container is single-line or multi-line depends
on its flex-wrap property, not on how many items there are.

~fantasai

Received on Monday, 25 April 2016 20:04:24 UTC