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

08Celebrate trigger via :has(:checked)

Clicking the checkbox needs no JavaScript — the parent reads the state with :has(:checked) and turns on the confetti layer's opacity and transform animation.

Best forCompleted to-do checklists, payment-confirmed checkmarks

:has():checked800ms
Celebrate trigger via :has(:checked)
Open in a new tab

08 Celebrate trigger via :has(:checked) — Measured area 1.599% · moving frames 13/23Original by GODRICH · SCSS and React ship in the zip · 9 CSS Confetti Animation & Sparkle Effects

The post this demo lives in

9 CSS Confetti Animation & Sparkle Effects - preview of all 9 demos9 CSS Confetti Animation & Sparkle EffectsA confetti animation is the small colored burst a screen fires when something succeeds — a finished signup, a completed See all demos in this post

If you like this effect - similar demos