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

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