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

01Case hero — a top section that recomputes its headline metric every frame to count it up

As soon as the section enters view, the headline metric gets recomputed frame by frame from zero up to its target, rolling the digits up naturally while any extra digit position is worked out to match the value.

Best forAgency case-study page heroes, client results highlight sections

getContext('2d')measureTextrequestAnimationFrame
Case hero — a top section that recomputes its headline metric every frame to count it up
Open in a new tab

01 Case hero — a top section that recomputes its headline metric every frame to count it up — Measured area 6.476% · moving frames 17/23Original by GODRICH · SCSS and React ship in the zip · 9 Case Study Page Design Sections (Copy-Paste)

The post this demo lives in

9 Case Study Page Design Sections (Copy-Paste) - preview of all 9 demos9 Case Study Page Design Sections (Copy-Paste)Nine case-study sections that compute: the hero recounts its metric frame by frame, tiles size from a computed impact sc See all demos in this post

If you like this effect - similar demos