W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css3-flexbox] requst for new features

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 2 Apr 2013 17:03:20 -0700
Message-ID: <CAAWBYDBKabPvgctN9+KjiGSjy9=N4XiJUvHWxppFmeZOss3i4g@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: 一丝 <yiorsi@gmail.com>, "www-style@w3.org" <www-style@w3.org>, "kanghaol@oupeng.com" <kanghaol@oupeng.com>
On Tue, Apr 2, 2013 at 4:11 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> On Tue, Apr 2, 2013 at 9:13 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>>
>> On Mon, Apr 1, 2013 at 12:48 AM, 一丝 <yiorsi@gmail.com> wrote:
>>
>> > Problem 2: Distribute the remaining space between flex items in a
>> > flexible
>> > way
>>
>> It sounds like you're asking for an ability to control the minimum
>> spacing, which is planned for Flexbox 2.
>
>
> I think that author of the message is asking about flexible margins here,
> like:
>
> .container > .child { margin-left:1fx; margin-left:1fx  }
> or rather
> .container { border-spacing: 1fx 0; }

No, those effects can be accomplished with the existing
'justify-content' property.  The OP's problem is that you can't
currently specify a minimum amount of spacing, so elements can get
packed "too tight", and not look like how you want.

~TJ
Received on Wednesday, 3 April 2013 00:04:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC