Re: [csswg-drafts] [css-anchor] Detecting active @position-fallback (#8171)

> The [explainer](https://github.com/w3c/csswg-drafts/blob/main/css-anchor-position-1/anchored_container_query.md) includes “Run different animations based on the position of the anchored element” as an identified need. Does `container-type:anchored` actually solve that use case?

Depends on what you mean. This is e.g. about directional animations like can be seen in the demo: https://codepen.io/lilles/pen/VYLZZqj

If you mean animations between different position-areas, then no.


-- 
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8171#issuecomment-3004715026 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 25 June 2025 13:09:30 UTC