Container Queries allow authors to style elements according to the size of a container element. It's similar to a @media query, except it evaluates against the size of a container instead of the size of the viewport.
Specification
Specification currently under development in a Working Group
Status in Chromium
In developer trial (Behind a flag)
(tracking bug)
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- In development
- In development
- Strongly positive
Owners
Intent to Prototype url
Intent to Prototype threadLast updated on 2022-05-11