You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anchored container queries further increase the usefulness of anchor positioning fallback options by enabling different styling of the anchor-positioned element depending on which fallback position it is placed in. This guide shows how to use anchored container queries and provides a couple of examples.
Reacted by Nilesh Prajapati, Fynn Ellie Becker, phantomxx29474, Luke Warlow, mkrause, jack, Andrew Hudson, JanPolasek, Alexander Lehner, Erwin Hofman and 50 more
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
Feature Anchor position container queries
ID: container-anchor-position-queries
Name: Anchor position container queries
Description: Anchor position container queries with the @container anchored(fallback: …) at-rule apply styles to an element based on the element's anchor position.
Activity
github-actions commentedon Sep 4, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature Anchor position container queries
@container anchored(fallback: …)at-rule apply styles to an element based on the element's anchor position.[-]CSS `Anchored container queries`[/-][+]CSS `Anchor position` Container queries[/+]jpzwarte commentedon Sep 13, 2026
I've used this API in Chromium, but it's far from developer friendly. See csswg-drafts/14350 and csswg-drafts/14351
emilio commentedon Oct 1, 2026
Links for the above: w3c/csswg-drafts#14350 / w3c/csswg-drafts#14351