Re: [csswg-drafts] [css-grid-2] Dual-axis vs. Per-axis Subgrids

Here’s a use case from 1997, with two grid approaches to making it work without subgrids:

https://meyerweb.com/eric/css/examples/grid/mit-libraries.html

NOTE: that was assembled a while back for other reasons, so the page doesn’t discuss one- versus two-axis subgrids.

I was able to remake the example layout in Grid without subgrid, and have row and column tracks that could respond to contents, by flattening the HTML.  As one does, now.  That’s the first case shown

In the second case, the one with a good markup structure, I’m pretty sure I would want dual-axis subgrids instead of per-axis, but I may have misunderstood the terminology.  As it was, without any subgrids, I had to layer three grids with each other, _and_ enforce static track sizes in order to make sure everything lined up.  I would have very much appreciated a subgrid feature that let me set up `min-content` or `fit-content` columns _and_ rows, in the creation of that layout.

-- 
GitHub Notification of comment by meyerweb
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2280#issuecomment-380507816 using your GitHub account

Received on Wednesday, 11 April 2018 16:07:41 UTC