Syntax - Tasty Web Development Treats

Browser CSS Page Transitions API aka Shared Element Transitions

Jun 27, 2022
Explore the exciting future of web animations with the new Browser CSS Page Transitions API, designed to bring native app-like experiences to the web. The discussion highlights shared element transitions that enable smooth animations between pages, revolutionizing how developers approach UI design. The hosts also touch on Microsoft Edge's progression to the Chromium engine, showcasing impressive demos. Plus, they reminisce about creative uses for the API, envisioning transitions that can be executed without JavaScript.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Web vs. Native Transitions

  • Native apps have smoother transitions than websites, often leveraging JavaScript frameworks and libraries.
  • This creates performance disadvantages for web transitions.
INSIGHT

Page Transitions API Goals

  • The proposed API aims to standardize smooth animations between web views, minimizing effort and improving performance.
  • This will create a unified approach, unlike current methods varying across frameworks.
ADVICE

Transition Types

  • Consider root transitions for full-page animations (like crossfades) between pages.
  • Use shared element transitions for persistent UI elements morphing between pages (e.g., a card expanding).
Get the Snipd Podcast app to discover more snips from this episode
Get the app