Container Queries

Table of Contents

While media queries provide a method to query aspects of the user agent or device environment that a document is being displayed in (such as viewport dimensions or user preferences), container queries allow testing aspects of elements within the document (such as box dimensions or computed styles).

My Notes

Specification

Issues

Support

Implementations

It’s likely that no polyfill can perfectly emulate the feature as specified, but hopefully we can handle the most common use-cases.

Talks & Podcasts

Articles & Demos

Query Units:

See Also:

Proposals