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

While I was already convinced that extending the Grid syntax is the right way forward, something immediately stood out to me in the latest [WebKit post](https://webkit.org/blog/16026/css-masonry-syntax/):

> But a real CSS file is never just five lines of code. Real life is far more complicated. **You might want to code a classic Grid layout up to a breakpoint, then switch to a masonry-style layout on wider (or narrower) screens.** In that case, switching layouts would require more lines of code with the New Masonry Layout option compared to the Just Use Grid option.

I’ve personally experienced this many times, needing different layouts for various screen sizes. I can vividly imagine how cumbersome it would be to use different syntaxes for the same HTML at different breakpoints. This realistic scenario further solidifies my belief that extending our existing tools (grid in this case) is _definitely_ the right approach. 


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


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

Received on Monday, 21 October 2024 22:35:16 UTC