Confetti Buttons using random()
Building on the previous effect to create confetti buttons. Full confetti or partial confetti? Pick your favorite!

⚠️ Chromium-only for now ⚠️
See the Pen Confetti Buttons by Temani Afif (@t_afif) on CodePen.
Another idea with animation
See the Pen Confetti Button II by Temani Afif (@t_afif) on CodePen.
More CSS Tips
- A Foldable Zig-Zag Connector Using Modern CSS Another fancy demo powered by anchor positioning, scroll-driven animations, and border-shape.
- Confetti Shape Explosion using random() We all like confetti, right? A fancy demo powered by modern CSS features.