Skip to content

Drifting clouds

A sunrise sky where clouds slowly drift behind the heading and the tagline.

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

Description

Clouds of different sizes slowly cross the sky behind the text, each at its own speed, as seen from a balloon basket: a calm, airy mood for an outdoor activity, a travel agency, a local weather page, a holiday cottage or a wellbeing app. Each cloud is a single rounded element drawn and animated in CSS (transform), with no image or script, and the decoration is hidden from screen readers. A checkbox pauses the sky, as WCAG 2.2.2 requires. A sunrise sky in light mode, a night sky in dark mode, AA contrast in both. With prefers-reduced-motion the clouds stay still.

Code

Loading the code…

The code of this component in

Archive contents

effet-nuages-defilants-html-tailwind.zip3 files · 4 Ko

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

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • Cards that fade in as they enter the screen, one after another in each row, without a line of JavaScript and with a static fallback.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A translucent card with a saturated blur whose sharper edge refracts the colourful shapes drifting behind it, with an opaque fallback when transparency is reduced.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A help block shaped like a conversation: bubbles, three animated typing dots and clickable quick replies that show your answers to frequent questions, frozen under prefers-reduced-motion.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component