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

Support for @container #303

Closed
stijnvanderlaan opened this issue Sep 14, 2022 · 4 comments · Fixed by #304
Closed

Support for @container #303

stijnvanderlaan opened this issue Sep 14, 2022 · 4 comments · Fixed by #304

Comments

@stijnvanderlaan
Copy link

Chrome 105 shipped with support for container query, would be great if this would be supported.
Example:

@container (max-width: 300px) {
  .element {
    display: none;
  }
}
@bradlocking
Copy link

Eager to get this supported as it looks to be a dependency for styled-components being able to support it, too!

@Andarist
Copy link
Collaborator

@bradlocking styled-components are using a fork of Stylis v3 (@emotion/stylis). This package is outdated and won't receive any updates, likewise - this repo here is focused on Stylis v4. So when this gets added here you won't be able to benefit from that in styled-components.

@bradlocking
Copy link

@bradlocking styled-components are using a fork of Stylis v3 (@emotion/stylis). This package is outdated and won't receive any updates, likewise - this repo here is focused on Stylis v4. So when this gets added here you won't be able to benefit from that in styled-components.

Thanks for pointing me in the right direction :)

@Elinia
Copy link

Elinia commented Oct 12, 2022

@bradlocking styled-components are using a fork of Stylis v3 (@emotion/stylis). This package is outdated and won't receive any updates, likewise - this repo here is focused on Stylis v4. So when this gets added here you won't be able to benefit from that in styled-components.

It seems styled-components is going to migrate to Stylis v4 in there new version in beta (v6.0.0-beta.3).

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

Successfully merging a pull request may close this issue.

4 participants