Transform multi-page web navigation into seamless app-like morphing with View Transitions
That jarring white flash when you click between pages has always made websites feel clunky compared to fluid native mobile apps. The CSS View Transitions API completely changes that. I love teaching this because with just a few lines of CSS, we can morph cards smoothly into full hero banners and give your sites a cinematic, native-app feel.
Configure & Copy Code
Pick your transition style (slide-left, slide-up, zoom morph, card-flip, wipe reveal), timing, and duration. Click the Elementor / WP tab and click Copy.
Embed into HTML Widget
Drag an HTML Widget into your global Theme Builder Header or Footer template. Paste the code to enable native page-to-page transitions site-wide.
Tab & State Morphing
To morph Elementor tabs or filters without reloading the page, the included JavaScript automatically intercepts clicks on .elementor-tab-title and transitions states smoothly.
@view-transition { navigation: auto; }, any WordPress site gains instant native cross-page transitions in Chrome and Safari 18+ without Single Page Application (SPA) bloat.
Frequently Asked Questions
Which browsers support the CSS View Transitions API?
The single-page View Transitions API is supported in Google Chrome 111+, Microsoft Edge 111+, and Apple Safari 18+ (iOS 18 and macOS Sequoia). Firefox has experimental support behind a flag. By using the provided fallback snippet, browsers without support will still function normally without transitions.
How does document.startViewTransition() work?
When you call document.startViewTransition(callback), the browser freezes the current rendering and captures an internal bitmap screenshot (the "old" snapshot). It then calls your callback to update the DOM, takes a snapshot of the updated state (the "new" snapshot), and plays your CSS animation between the two layers.
Can I have multiple transitioning elements on the same screen?
Yes! Each element you want to animate independently must have its own unique view-transition-name (e.g. view-transition-name: header-nav; and view-transition-name: product-hero;). The browser will pair matching names across DOM updates and morph them together.
What is the CSS View Transitions API and what does it do?
The View Transitions API creates smooth animated page-to-page or state-to-state transitions (cross-fades, sliding cards, hero expansions) with simple CSS keyframes, bringing native app fluidity to the web.
How do I enable cross-document View Transitions between multi-page sites (MPA)?
Add @view-transition { navigation: auto; } to your global stylesheet. Supported browsers will automatically cross-fade page navigations between matching domain URLs without single-page app (SPA) frameworks.
How do I morph an image seamlessly from a card to a full-screen hero?
Assign the same unique view-transition-name: hero-image; property to both the thumbnail image on page A and the expanded hero image on page B. The browser automatically animates size and position between the states.
What browsers support the View Transitions API?
Chromium browsers (Chrome, Edge) support both SPA and MPA view transitions. Safari and Firefox are actively implementing baseline support. Progressive enhancement ensures instant fallbacks for non-supporting clients.
How do I use the CSS View Transitions API in Elementor & WordPress?
Drag an HTML widget into your Elementor header or template and paste the code from the Elementor / WP tab. It adds @view-transition { navigation: auto; } for smooth native cross-page animations and hooks into Elementor tabs or filters with document.startViewTransition() for app-like morphs without page reloads.