Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-grid-3][masonry] Shift masonry keyword to grid-auto-rows/columns? #10272

Open
fantasai opened this issue Apr 30, 2024 · 1 comment
Open
Labels

Comments

@fantasai
Copy link
Collaborator

From one of our front-end engineers:

While reading the article, I started to wonder why this is part of grid-template-* instead of grid-auto-*. Wouldn’t masonry fit better with the concept of rows being implicitly created rather than manually specified?

@tabatkins
Copy link
Member

This seems somewhat worse than the current design, since it would mean that people can still define a full NxM grid in grid-template, and then declare that one of the axises is ignored in favor of using masonry behavior. Masonry doesn't create any rows, after all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants