- From: rjgotten via GitHub <sysbot+gh@w3.org>
- Date: Thu, 26 Sep 2024 09:11:39 +0000
- To: public-css-archive@w3.org
> @cat394
> The Masonry syntax that surprised me the most when I first saw it on the Chrome blog was this:
>
> ```css
> .masonry {
> display: masonry;
> masonry-template-tracks: repeat(3, 1fr);
> masonry-direction: column-reverse;
> }
> ```
>
> For me, reversing the vertical axis was exactly the role of `row-reverse`.
>
> This goes against my intuition, and I feel it could be confusing for many developers
Masonry is single-axis and `masonry-direction` takes after `flex-direction`.
What that property says is the masonry layout goes 'column first; in reverse order'
--
GitHub Notification of comment by rjgotten
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9041#issuecomment-2376392956 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 26 September 2024 09:11:41 UTC