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] Mark some cells as busy so they are skip in auto-placement #4012

Open
mrego opened this issue Jun 6, 2019 · 2 comments
Open

[css-grid] Mark some cells as busy so they are skip in auto-placement #4012

mrego opened this issue Jun 6, 2019 · 2 comments
Labels
css-grid-3 Masonry Layout

Comments

@mrego
Copy link
Member

mrego commented Jun 6, 2019

This idea was already introduced by @jensimmons long time ago at TPAC 2016: https://speakerdeck.com/jensimmons/proposal-to-csswg-sept-2016?slide=51
But I'm just reporting the issue here to track it for future work/proposals around CSS Grid Layout.

I guess it'd be nice to have some kind of syntax that allows us to mark some cells as busy (even without the need to place there empty dummy elements), and the auto-placement algorithm would skip them.

Of course we need to think also in a syntax, so we can refer to a list of cells not a single one.

@mrego mrego added the css-grid-3 Masonry Layout label Jun 6, 2019
@mrego mrego changed the title [css-grid] Mark some cells are busy so they're skip in auto-placement [css-grid] Mark some cells as busy so they are skip in auto-placement Jun 6, 2019
@ByteEater-pl
Copy link

This could even be specified per element. Example syntax:

allow-placement: <selector>

@fantasai
Copy link
Collaborator

Might end up addressed by #499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-grid-3 Masonry Layout
Projects
None yet
Development

No branches or pull requests

3 participants