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

03Metric highlight — a card that divides before and after to work out its own ratio

Dividing the before value into the after value works out the ratio that sets the gauge needle's angle or bar length, and the bigger that ratio gets, the deeper the highlight color turns.

Best forResults-metric highlight cards, before/after stat badges

stroke-dashoffsetrequestAnimationFramefont-variant-numeric
Metric highlight — a card that divides before and after to work out its own ratio
Open in a new tab

03 Metric highlight — a card that divides before and after to work out its own ratio — Measured area 2.328% · 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