- From: Kokomi via GitHub <sysbot+gh@w3.org>
- Date: Fri, 27 Sep 2024 00:12:47 +0000
- To: public-css-archive@w3.org
@nmn, you're absolutely right. I also felt that it would be more intuitive to handle masonry layouts as being closer to grid rather than flex. However, for me, masonry feels like grid is the backbone, while flex is more on the surface. It’s as if masonry has a big, thick arrow from flex's main axis, and the items are placed along that arrow! Grid layouts, on the other hand, give developers the impression of items being arranged along horizontal arrows. If masonry gets integrated with grid, this same image could potentially be applied to masonry as well. As a result, developers might struggle to incorporate the simple layout image that masonry offers and find it difficult to focus on the main axis when developing. I agree that masonry behaves differently from flex, which could cause confusion for many. Still, the image of a big, bold arrow from flex really simplifies how I imagine masonry layouts, and it feels like a missed opportunity to hide that within the grid mental model. Sorry if my explanation is a bit too focused on my own mental images and it’s hard to understand. What I wanted to say is that my mental model for masonry is one where the simple and basic characteristics of flex are boldly in the foreground, while grid is managing things in the background. Of course, everyone has different images of flex, grid, and masonry, and it’s not wrong to feel that masonry doesn’t align well with flex. Also, since both Grid and Masonry create similar layout designs, I do think it’s important to manage them through a unified interface. However, the strong image I have of grid as arranging items horizontally feels different from the direction of masonry's main axis. -- GitHub Notification of comment by cat394 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9041#issuecomment-2378154081 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 27 September 2024 00:12:48 UTC