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

Re: [csswg-drafts] [css-grid-2] Grid Track Explicit Sizing Controls (aka Flex Sizing in Grid) (#4147)

From: Fred Wilkins via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Jul 2019 00:45:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-516648745-1564533935-sysbot+gh@w3.org>
I see what you mean. That would be a half-way solution where we could shrink the spaces first.

Really my thinking is there are lots of use-cases where we are using Flexbox (specifically for their shrink/grow properties) and we would much rather be using grid.  It would be great to make grid strictly better because grid has some amazing advantages in these multi-row layouts and requires much less markup than nested flex.  

The reason I was suggesting the flex property as the design is most developers are now very familiar with its properties and shrink/grow/basis works and it solves all of the priority order problems by just using progressively larger flex-shrink/flex-grow values.

Obviously some of these problems you can solve with javascript, but from experience whenever you can do it straight CSS it seems to be a far better solution. 

I wanted to float this idea so that people who understand how grid works under-the-hood could consider providing a method of controlling the order.

GitHub Notification of comment by TigTog-uiux
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4147#issuecomment-516648745 using your GitHub account
Received on Wednesday, 31 July 2019 00:45:37 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:50 UTC