GoogleChromeLabs/container-query-polyfill
A polyfill for CSS Container Queries observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 88
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1755
- days_rel: n/a
- days_push: 72
- n_releases_24m: 0
Adoption not part of the score
1148 stars · 48 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small (9 kB) polyfill for CSS Container Queries built on ResizeObserver and MutationObserver, supporting the full @container query syntax and container-relative length units. Developed by GoogleChromeLabs, it is now in maintenance mode with no planned feature additions.
Use cases
- support container queries in older browsers
- polyfill @container rules for Safari 13
- use cqw cqh units where unsupported
- make responsive components work in legacy browsers
- test container query layouts before native support
- add container queries to a site without dropping old browser support
When to choose
- you need container queries in browsers without native support (pre-2023 Safari, older Chrome/Firefox)
- your styles are in <style> or same-origin <link> elements
- you want a small, official Chrome-team polyfill with full @container syntax support
When to avoid
- your target browsers natively support container queries
- you rely on inline styles, CSSOM manipulation, Shadow DOM, or CSSContainerRule APIs
- you need active development, new features, or complex sibling selector support
Facets
library · maturity maintenance
ui-components css-framework developer-tools web-development frontend web-design browser css polyfill container-queries responsive-design typescript web-server
2 sources
- readme: https://github.com/GoogleChromeLabs/container-query-polyfill · fetched 2026-08-28 · 750a0365c069
- registry_npm: https://registry.npmjs.org/container-query-polyfill · fetched 2026-08-29 · 91cbc7695db5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GoogleChromeLabs/container-query-polyfill | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="GoogleChromeLabs/container-query-polyfill")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem