using anchor names globally sounds like a nightmare for any real project. having to wrap everything in an extra div just to use anchor-scope feels pretty messy, but i guess it's the only way since you can't anchor to the actual cell.
>Because anchor names are by default global, they need to be scoped to a specific cell's subtree.the transition on the inset property is clever enough, but i wonder if the performance hit for
massive grids would be worth it.
.cell { anchor-scope: --a; anchor-name: --a;}.content { position-anchor: --a; inset: anchor(inside);}anyone tried this on a production site yet?
link:
https://www.bram.us/2026/09/07/animating-css-grid-layouts-with-css-anchor-positioning/