Container scroll-state queries
Limited availability
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.
Learning resources on MDN
Browser support
- Chrome 133 Released on 2025-02-04
- Chrome Android 133 Released on 2025-02-04
- Edge 133 Released on 2025-02-06
- Firefox ❌ See bugzil.la/1931980
- Firefox for Android ❌ See bugzil.la/1931980
- Safari ❌
- Safari on iOS ❌
Usage (according to Chrome Platform Status)
~0.213% of page loads. More data at chromestatus.
Specifications
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature