Study · CSS · Interaction
Placement and scoped transitions
Let fallback placement reshape its detail and keep repeated transition names local.
Positioning and transitions both change what a component needs to show. These experiments let the browser report its placement decision and limit animation snapshots to a local component.
Let fallback placement change the detail
Anchored container queries expose which anchor-positioning fallback the browser selected. Descendant styles can respond to that placement, such as turning the tooltip's pointer toward its anchor.
Move the anchor to see its query response.
Give repeated transitions a local scope
view-transition-scope limits which named elements the browser snapshots. Update the three components: they share a transition name, but each name is scoped to its own component subtree.
Each matching name is scoped to its own subtree.
Both primitives keep local decisions in CSS: placement can influence a component's detail, and transition capture can stay within that component.