Support for @container
See original GitHub issueThen you add this:
const Body = styled.div`
@container (max-width: 300px) {
display: none;
}
`
It transforms into:
@container (max-width: 300px){display:none;}
Which is incorrect, it should be something like:
@container (max-width: 300px){.css-w7dhq6{display:none;}}
Issue Analytics
- State:
- Created a year ago
- Reactions:9
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Support policy for containers and related services on Azure
Describes the support options and coverage that Microsoft offers for containers and surrounding infrastructure services.
Read more >What is a Container? - Docker
A container is a unit of software that packages code and its dependencies so the application runs quickly and reliably across computing environments....
Read more >"container query" | Can I use... Support tables for HTML5 ...
Container Query Units specify a length relative to the dimensions of a query container. The units include: cqw , cqh , cqi ,...
Read more >Containers - Kubernetes
Kubernetes supports container runtimes such as containerd, CRI-O, and any other implementation of the Kubernetes CRI (Container Runtime ...
Read more >Container Platforms: 6 Best Practices and 15 Top Solutions
Container as a Service: How Google Kubernetes Engine Works; 6 Best Practices for Using a Container Platform; Container Security; Container Monitoring; Container ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It has landed in Chrome 105, and will be in de next Safari, for other browsers there is a polyfill available.
As far as I know, container queries are still an experimental feature. We probably won’t commit to supporting it until it gets included in the spec. This would have to be implemented in the parser that we are using so it should be reported to that project: https://github.com/thysultan/stylis/