2026
2 featuresContainer style queries with the @container at-rule apply styles to an element based on the values of custom properties of its container.
Name-only container queries with the @container … at-rule apply styles to an element based on the name of the element's container alone.
2023
1 featuresContainer size queries with the @container (…) at-rule apply styles to an element based on a dimension of its container, such as width or height.
Limited Availability
3 featuresAnchor position container queries with the @container anchored(fallback: …) at-rule apply styles to an element based on the element's anchor position.
The @container style() CSS at-rule and if(style()) CSS function queries accept a range syntax, such as >, <, >=, <=, to query for inexact values.
Container scroll-state queries with the @container scroll-state(...) at-rule apply styles to an element based on the sticky positioning, snapped, and scrollable state of the container.