Re: [csswg-drafts] [css-grid-3][masonry] Masonry Syntax Designer/Developer Feedback (#11060)

FWIW, I like pack over collapse, but thats just a personal preference.

I'm curious if there would be any way to make other items honour the same arrangements in parallel.
I'm thinking being able to specify another set of columns with layout=copy-from-#xxxx where it attempts to honour the original layout in a duplicate space.
The case I'm thinking of is a masonary/packed list of images (maybe 3 columns), and paralleling them three columns of image names with each name aligned to the image it's associated with.
That can be done by an offset for each name and just having them in the columns with the images, but that will fail if a name is too long to fit in a column, and so the next name needs to be adjusted down a row... (as per the first row in my example)
I'm thinking of the way museums and galleries sometimes display image catalogs.

Here's a very rough (and ugly) example of the sort of thing I mean.  Ignore the red "Text" in the middle, that was an oops that was going to require I redo everything
![grid-3-layout-light](https://github.com/user-attachments/assets/fd57a4aa-4438-4792-8f09-39c916cfde7c)


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 October 2024 05:42:02 UTC