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

01Card That Auto-Peels Once Pixel-Measured Area Passes a Threshold

Erased pixels are counted in real time, and once they pass half the area the remaining foil peels away on its own.

Best forInstant-win coupon reveal card

clearedPixelRatioSCRATCH_REVEAL_THRESHOLD_PCTautoPeelRemaining
Card That Auto-Peels Once Pixel-Measured Area Passes a Threshold
Open in a new tab

01 Card That Auto-Peels Once Pixel-Measured Area Passes a Threshold — Measured area 12.103% · moving frames 15/23Original by GODRICH · SCSS and React ship in the zip · Scratch Card Reveal: 9 Pixel-Calculated Patterns

The post this demo lives in

Scratch Card Reveal: 9 Pixel-Calculated Patterns - preview of all 9 demosScratch Card Reveal: 9 Pixel-Calculated PatternsObservation log 09:00 — a fingertip lands and item 03's foil flakes catch gravity. 09:04 — item 06's progress ring stall See all demos in this post

If you like this effect - similar demos