Desires like "smoothing out page navigation" or "having an element expand seamlessly into a detail view" previously required dedicated JavaScript libraries such as Framer Motion, GSAP, or Barba.js. With the emergence of the View Transitions API, the launch of Chrome 148, and Safari's support for the scrollend event, we have entered an era where this can be written using CSS alone.
As of spring 2026, the View Transitions API has joined Baseline coverage across major browsers, making it ready for practical adoption on small and medium business corporate websites. In this article, we highlight seven concrete implementation recipes not fully covered in our Spring 2026 CSS Feature Roundup, focusing on where to apply them during corporate website renewals.
What is the View Transitions API: Capabilities and paradigm shifts
The View Transitions API is a browser-standard API that transforms DOM mutations into smooth transitions. It automatically captures snapshots of the "before" and "after" states, allowing developers to orchestrate the interpolation between them entirely via CSS.
Two operational modes
The API features two modes:
| Mode | Target | Typical use cases |
|---|---|---|
| Same-Document Transitions | DOM mutations within the same page | Tab switching, filtering, modals |
| Cross-Document Transitions | Navigation between pages (MPA) | List-to-detail transitions, section navigation |
SPAs leverage Same-Document transitions, while SSG and MPA architectures utilize Cross-Document transitions. The ability to implement these in Astro or Next.js MPA modes with zero additional JavaScript is transformative.
What Baseline coverage changes
Previously, support was limited to Chrome and Edge, making fallbacks mandatory for Safari and Firefox. With Safari's spring 2026 release achieving Baseline coverage across major browsers, developers can adopt the API without fallbacks across a wide range of use cases.
Corporate site visitor traffic in Japan roughly averages 60% Chrome, 25% Safari, 10% Edge, and 5% Firefox. With Safari onboarding, over 90% of visitors can natively experience these transitions. This milestone marks what can truly be considered its inaugural year in production.
7 implementation recipes: Recommended patterns for corporate websites
Below are seven practical recipes ideal for corporate and recruitment site revamps. Each requires only a few to several dozen lines of CSS/JS without breaking layout on unsupported browsers. We recommend starting with patterns that align closely with your site structure.
Recipe 1: Cross-fading hero images across page transitions
The foundational recipe for seamlessly cross-fading hero images when navigating from a homepage to case studies or service details.
@view-transition {
navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
animation-duration: 0.35s;
}
Simply adding the @view-transition directive to your HTML enables smooth multi-page transitions by default. Implementation requires under 10 lines of code.
Recipe 2: Expanding case study thumbnails into full detail views
Having a compact case study thumbnail expand into a full-bleed view on the destination page used to be achievable only with SPAs and heavy animation libraries.
<!-- 一覧ページ -->
<img src="/works/case-a.jpg" style="view-transition-name: case-a;">
<!-- 詳細ページ -->
<img src="/works/case-a.jpg" style="view-transition-name: case-a;">
Elements sharing the same view-transition-name are automatically interpolated as a single continuous element translating and resizing across views.
Implementation tips:
- Maintain matching naming conventions across list and detail pages
- Applying
contain: layoutto image containers prevents unwanted layout shifts
Recipe 3: Sliding active indicator on header navigation
A pattern where the underline indicating the active page slides smoothly horizontally during navigation. Highly effective for imparting a refined, polished aesthetic to corporate websites.
.nav-underline {
view-transition-name: nav-indicator;
}
::view-transition-group(nav-indicator) {
animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
Implementation is as simple as assigning view-transition-name to the active navigation indicator and defining the desired easing curve.
Recipe 4: Slide-in transitions between sections
A recipe where content slides in from the sides when switching tabs on service overview pages.
::view-transition-old(tab-content) {
animation: slide-out-left 0.3s forwards;
}
::view-transition-new(tab-content) {
animation: slide-in-right 0.3s forwards;
}
@keyframes slide-out-left {
to { transform: translateX(-20px); opacity: 0; }
}
@keyframes slide-in-right {
from { transform: translateX(20px); opacity: 0; }
}
Delivers an SPA-like feel within a traditional MPA architecture.
Recipe 5: Scroll-synchronized section transitions
Safari's support for the scrollend event joining Baseline enables reliably detecting the conclusion of a scroll action to trigger section transition animations. Previously, Safari's scroll termination timing was ambiguous, necessitating Intersection Observer workarounds; now standard APIs suffice.
window.addEventListener('scrollend', () => {
const currentSection = getVisibleSection();
highlightSection(currentSection);
});
Ideal for section pagination indicators or updating side navigation highlights.
Recipe 6: Gracefully expanding mobile menus
Applying View Transitions to mobile hamburger menu interactions turns DOM additions and removals into fluid transitions automatically.
async function toggleMenu() {
if (!document.startViewTransition) {
updateMenu();
return;
}
document.startViewTransition(() => updateMenu());
}
The key is the initial if guard, written defensively to fall back immediately on unsupported browsers. This guarantees that navigation UI remains functional across legacy clients.
Recipe 7: Smooth cross-fades for dark mode switching
A recipe that fluidly fades the entire viewport when users click the dark mode toggle, a pattern increasingly adopted across modern corporate sites.
function toggleDarkMode() {
if (!document.startViewTransition) {
document.documentElement.classList.toggle('dark');
return;
}
document.startViewTransition(() => {
document.documentElement.classList.toggle('dark');
});
}
In CSS variable-driven architectures, simply toggling a class transitions all color properties seamlessly.
Fallback strategy: Designing for "graceful degradation without breakage"
The greatest asset of the View Transitions API is that unsupported browsers simply omit the animation while rendering content completely. Keep these principles in mind when structuring fallback behavior.
Point 1: Treat animations as progressive enhancement
Avoid interfaces that depend fundamentally on transitions (such as layouts requiring an element to fly in from off-screen), treating animation purely as polish.
Point 2: Conditional branching with @supports
When explicit branching is necessary, use CSS @supports queries.
@supports (view-transition-name: none) {
/* API 対応時のスタイル */
}
Point 3: Respecting prefers-reduced-motion
To accommodate users who experience disorientation or motion sickness from animations, always include the following override:
@media (prefers-reduced-motion: reduce) {
::view-transition-group(*) {
animation-duration: 0.01ms !important;
}
}
This aligns with the WCAG 2.3.3 (Animation from Interactions) standards discussed in our Web Accessibility Implementation Guide.
Cost estimates for corporate website redesign adoptions
Implementation costs have dropped to where incorporating 3–4 recipes into an existing site requires roughly 1 to 3 person-days. Below is our agency benchmark for client engagements:
| Target | Estimated effort | Benefit |
|---|---|---|
| Hero transition from homepage to case study | 0.5 person-days | Instantly elevates perception of site polish |
| Sliding navigation active indicator | 0.3 person-days | Creates a sophisticated attention to detail |
| Tab/filter transition animations | 1 person-day | Delivers an SPA-like fluid experience |
| Dark mode transition | 0.5 person-days | Provides a modern aesthetic |
| Mobile menu expansion | 0.5 person-days | Enhances perceived mobile UX |
At a total of 3–4 person-days, or an incremental 150,000 to 300,000 JPY on greenfield builds, View Transitions can dramatically elevate a corporate site's impression. Bundling it into scheduled website renewals represents the most cost-effective path.
For broader site renewal planning, consult our guide on Corporate Website Redesign Steps and Contracting Best Practices. Additionally, pairing transitions with our Practical Guide to Core Web Vitals Optimization ensures your site becomes both exceptionally fast and visually engaging.
Summary: "Fluidity" as the new differentiator
With the View Transitions API achieving Baseline coverage, delightful experiences like fluid page navigation and polished section transitions are no longer the exclusive domain of enterprise web apps.
Three compelling reasons to adopt it:
- Standard browser API with zero library dependencies: Keeps future maintenance overhead minimal.
- Built-in progressive enhancement: Renders reliably without breaking on unsupported browsers.
- Minimal implementation overhead of a few person-days: Easily accommodated within standard redesign budgets.
At GleamHub, we specialize in pairing corporate website revamps with cutting-edge web standards. Whether your goal is outpacing competitors or updating a dated web presence, we support you end-to-end—from custom transition implementations to performance benchmarking and A/B testing. Contact us anytime for an initial assessment of your current website.









