Skip to content

Falling autumn leaves

A seasonal announcement behind which autumn leaves fall, gently swaying.

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

Description

Eight SVG leaves in orange, red and gold drift down at different speeds behind the text, swaying from side to side, appearing at the top and fading before the bottom of the section: an autumn touch for back-to-school, a seasonal sale, a garden centre or an autumn menu. Only the leaves' position, rotation and opacity are animated, with no image or script, and the decoration is hidden from screen readers. AA contrast in light and dark mode. With prefers-reduced-motion the leaves stay still.

Code

Loading the code…

Archive contents

effet-feuilles-tombantes-html-tailwind.zip3 files · 4 Ko

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

Tags

Updated on October 18, 2026.

In the same spirit

  • A large heading in hollow letters where each word fills with colour from left to right, one after another.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A product card crossed at the corner by a discount ribbon over which a glint of light sweeps.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • An integrations pitch where seven icons slowly circle a logo on two orbits.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • An offer card topped with a deck of colour swatches that fans out on hover or keyboard focus.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
Falling autumn leaves — visual effects component, HTML and React | Forge