Re: [csswg-drafts] [css-grid-3] Designer/developer feedback on masonry layout (#10233)

@ddamato Thank you for your reply! I am admittedly not _super_ experienced with CSS, so there might be something obvious I am missing.

Here is a demo of the layout I think would be good with horizontal masonry:
[index.txt](https://github.com/user-attachments/files/16434671/index.txt)

I think seeing the problem visually might do it more justice than my attempt at explaining it in writing. Grid doesn't have an equivalent to flex-grow where cards can grow to fill in a fraction of the space. They have to span discrete columns and you have to explicitly provide this ahead of time.

Sorry if I am wrong, I don't mean to derail the conversation, but is this not a problem that could be solved with  grid-template-columns: masonry; ? Is it already possible to do this with just CSS?

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


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

Received on Wednesday, 31 July 2024 00:14:19 UTC