W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-flexbox] apply flexibility in steps (#4198)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Aug 2019 20:45:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-522145907-1565988350-sysbot+gh@w3.org>
For this to work, there need to be a way to define the order in which the elements grow or shrink.

And I believe this could be something that could apply to both flexbox and grid layout, maybe in form of `shrink-order` and `grow-order` properties?

So, in @Netmosfera's example you'd apply a `grow-order` of `1` to the red elements, `2` to the green ones, and `3` to the blue ones.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4198#issuecomment-522145907 using your GitHub account
Received on Friday, 16 August 2019 20:45:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC