Skip to content

Confetti shower

A celebration banner where coloured confetti tumbles down behind the announcement.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

Rectangular, round and streamer confetti tumbles down behind the text, each piece at its own pace: perfect for a shop anniversary, an opening, a wedding, a thank-you page or a year-end offer. Each piece is a simple element animated with transform, with no image or script, and the whole decoration is hidden from screen readers. A checkbox pauses the shower, as WCAG 2.2.2 requires. AA contrast in light and dark mode. With prefers-reduced-motion the confetti stays still, scattered around the text.

Code

Loading the code…

Archive contents

effet-confettis-html-tailwind.zip3 files · 4 Ko

  • index.html10 Ko
  • README.md3 Ko
  • LICENSE.md1 Ko

Tags

Updated on October 18, 2026.

In the same spirit

  • A three-step application tracker where a “Validated” stamp lands on each card as it reaches the screen.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A mountain landscape in several planes that slide at different speeds while scrolling.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A sunrise sky where clouds slowly drift behind the heading and the tagline.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A blog article topped by a thin bar that fills up as the reader moves through the text.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
Confetti shower — visual effects component, HTML and React | Forge