web-view-transition
Installation
SKILL.md
Web View Transition API
The View Transition API creates animated transitions between DOM states or page navigations with minimal code. The browser handles snapshotting old/new states and animating between them.
Browser support: Chrome 111+, Edge 111+, Firefox 144+, Safari 18+ (Baseline 2025). Always provide a no-animation fallback.
Quick mental model
When a transition fires, the browser:
- Captures a static snapshot of the current view
- Applies your DOM change
- Captures a live snapshot of the new view
- Animates old → new using a pseudo-element tree layered above the page
The pseudo-element tree looks like: