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

Add support for container queries #185

Open
Jarzka opened this issue Jun 13, 2021 · 3 comments
Open

Add support for container queries #185

Jarzka opened this issue Jun 13, 2021 · 3 comments

Comments

@Jarzka
Copy link

Jarzka commented Jun 13, 2021

Hi

It seems that container queries are going to be a significant new feature in CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries
https://ishadeed.com/article/say-hello-to-css-container-queries/

Could we have a support for these in Garden? Perhaps a new at-rule helper at-container?

@harold
Copy link
Collaborator

harold commented Jun 14, 2021

Very interesting, had not heard of that.

Here is (I think) the relevant caniuse: https://caniuse.com/css-container-queries

  • Could be useful for tracking browser adoption of this feature

@Jarzka
Copy link
Author

Jarzka commented Jun 15, 2021

Yea, it is not yet usable in any browser without flags, so there is no hurry. But I would assume it will become popular in the coming years.

@aeriksson
Copy link

aeriksson commented Aug 16, 2022

@Jarzka container queries are now supported in the Chrome and Safari, so it's probably time to add support. We'd like to start using We're using container queries now for https://polytope.com.

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

No branches or pull requests

3 participants