HIQaH! QaH! TAG!
I'm requesting early TAG review of my proposal for CSS Container Queries.
Media-queries allow an author to make style changes based on the overall viewport dimensions -- but in many cases, authors would prefer styling modular components based on their context and available space within a layout. My proposal builds on David Baron's @container approach, which works by applying size & layout containment to the queried elements. In order to make that less restrictive for authors, I've also proposed a path forward for inline-size (and maybe block-size) values on the contain property.
- Explainer: https://github.com/oddbird/css-sandbox/blob/main/src/rwd/query/explainer.md
- Security and Privacy self-review: This proposal does not expose anything new, and has no impact on security or privacy
- Primary contacts (and their relationship to the specification):
- Miriam Suzanne, @mirisuzanne, Invited Expert, author
- Rune Lillesveen, @lilles, Google, contributor
- Anders Hartvoll Ruud, @andruud, Google, contributor
- Rossen Atanassof, @atanassov, Microsoft, co-chair
- Alan Stearns @astearns, Adobe, co-chair
- Organization/project driving the design: CSSWG
- External status/issue trackers for this feature (publicly visible, e.g. Chrome Status):
Further details:
We'd prefer the TAG provide feedback as 💬 leave review feedback as a comment in this issue and @-notify @mirisuzanne & @andruud
HIQaH! QaH! TAG!
I'm requesting early TAG review of my proposal for CSS Container Queries.
Media-queries allow an author to make style changes based on the overall viewport dimensions -- but in many cases, authors would prefer styling modular components based on their context and available space within a layout. My proposal builds on David Baron's
@containerapproach, which works by applying size & layout containment to the queried elements. In order to make that less restrictive for authors, I've also proposed a path forward forinline-size(and maybeblock-size) values on thecontainproperty.Further details:
We'd prefer the TAG provide feedback as 💬 leave review feedback as a comment in this issue and @-notify @mirisuzanne & @andruud