Re: [csswg-drafts] [css-grid-3] Masonry Switch Syntax (#12022)

> I also want to voice my support for `staggered-grid`. It's the first proposal I've seen where I immediately thought, "Oh yeah, that makes sense."

I am slightly against "staggered", because firstly, it is a relatively uncommon word and may be hard to spell, especially for non-English speakers, and secondly, the word can have different meanings.
For what it's worth, "masonry" shares the first argument.
Though I don't have a better suggestion so far.

> I also think a single keyword is better. As [@diondiondion](https://github.com/diondiondion) said, it once again becomes dependent on first declaring `display: grid` and then opting in. If that's the case, why not keep `display: grid` as is and go back to `grid-template-columns: collapse/flow/staggered` at that point? It feels like the same thing but with an extra step, as you'd still have to declare which axis is the staggered one.

The reasoning against a keyword on `grid-template-{rows|columns}` as the switch were concerns regarding conflicts with the `item-*` properties.

Sebastan

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


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

Received on Thursday, 25 September 2025 21:49:35 UTC