:active-view-transition

Matches elements that are currently participating in a view transition. This allows you to apply specific styles or animations exclusively while the transition is in progress.

/* Usage Example */
:active-view-transition {
  /* Hide the footer globally while any view transition is active */
  .site-footer {
    opacity: 0;
  }
}
Newly available Since 2026 84% global usage

Since 2026 this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

125+
144+
18+
125+
Interop 2026 focus area ? Learn more →
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC