GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

05Transition That Assigns a Different Easing Value per Class

Several elements changing at once are grouped under one class value so only that group carries its own duration and easing value, letting a background transition slowly while a button transitions fast in the same swap.

Best forHero background plus button sections that need differing speeds

view-transition-class::view-transition-group(.vt-slow)::view-transition-group(.vt-fast)
Transition That Assigns a Different Easing Value per Class
Open in a new tab

05 Transition That Assigns a Different Easing Value per Class — Measured area 29.267% · moving frames 14/23Original by GODRICH · SCSS and React ship in the zip · View Transitions API: 9 Patterns by One Value

The post this demo lives in

View Transitions API: 9 Patterns by One Value - preview of all 9 demosView Transitions API: 9 Patterns by One ValueView transitions api: The page seems to carry over, but the browser keeps the outgoing view as a snapshot value layered See all demos in this post

If you like this effect - similar demos