Re: [csswg-drafts] Alternative masonry path forward (#9041)

> @nmn
> AFAIK, this is not possible with either proposal.

If subgrid would be generalized across grid, masonry and other layouts capable of using tracks, then it's possible.
You _do_ need the nested containing element which forms the 'sub' - and then in the scenario you describe where:

> On smaller screens, the last column goes away and the elements within it become part of the grid like normal.

you simply mark that container as `display:contents` ...

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


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

Received on Tuesday, 1 October 2024 14:21:29 UTC