The View Transitions API And Delightful UI Animations (Part 2)

The View Transitions API is a new — but game-changing — feature that allows us to do the types of reactive state-based UI and page transitions that have traditionally been exclusive to JavaScript frameworks. In the second half of this mini two-part series, Adrian Bece expands on the demos from the first article to demonstrate how the View Transitions API can be used to transition not just elements between two states but the transition between full views and pages in single-page and multi-page applications. https://smashingmagazine.com/2024/01/view-transitions-api-ui-animations-part2/

Creato 1y | 2 gen 2024, 16:10:33


Accedi per aggiungere un commento

Altri post in questo gruppo

How To Argue Against AI-First Research

Companies have been turning their attention to “synthetic,” AI-driven user testing. However, as convenient as it might seem, it’s dangerous, expensive, and usually diminishes user value. Let’s take a

31 mar 2025, 15:50:03 | Smashing magazine
Blossoms, Flowers, And The Magic Of Spring (April 2025 Wallpapers Edition)

The beginning of the new month is the perfect opportunity to give your desktop a makeover. If you’re looking for some beautiful and unique wallpapers to cater for a bit of inspiration this April, well

31 mar 2025, 15:50:02 | Smashing magazine
Adaptive Video Streaming With Dash.js In React

HTML <video> is the de facto element we turn to for embedding video content, but it comes with constraints. For example, it downloads the video file linearly over HTTP, which leads to performance hi

27 mar 2025, 19:10:08 | Smashing magazine
Previewing Content Changes In Your Work With document.designMode

You probably already know that you can use developer tools in your browser to make on-the-spot changes to a webpage — simply click the node in the Inspector and make your edits. But have you tri

21 mar 2025, 14:50:03 | Smashing magazine
Web Components Vs. Framework Components: What’s The Difference?

Some critics question the agnostic nature of Web Components, with some even arguing that they are not real components. Gabriel Shoyomboa explores this topic in-depth, comparing Web Components and fram

17 mar 2025, 15:50:02 | Smashing magazine
How To Prevent WordPress SQL Injection Attacks

Have you thought about the security risks WordPress websites face? Anders Johansson explores why they are frequent hacker targets and shares how WordPress SQL injection attacks work and how to remove

13 mar 2025, 14:20:08 | Smashing magazine
How To Fix Largest Contentful Paint Issues With Subpart Analysis

Struggling with slow Largest Contentful Paint (LCP)? Newly introduced by Google, LCP subparts help you pinpoint where page load delays come from. Now, in the Chrome UX Report, this data provides real

11 mar 2025, 22:40:08 | Smashing magazine