Skip to content

Floating blurred shapes

Three blurred colour blobs drift slowly behind a heading, for a soft and lively background in pure CSS.

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

Description

Behind the tagline, three heavily blurred colour discs move and slightly change size, each at its own pace, so the background never quite repeats. It is the soothing backdrop of wellness, coaching, app or creative studio sites, with no image or video to load. The blur is applied once and only the transform is animated, which spares the processor. Pastel colours in light mode and deep ones in dark mode, chosen to keep the text at AA contrast across the whole area; the decoration is hidden from screen readers. Settings: --efff-b1, --efff-b2 and --efff-b3 for the colours, --efff-blur for the blur, --efff-duration for the speed. With prefers-reduced-motion the shapes stay in place. No horizontal scrolling from 360 px.

Code

Loading the code…

The code of this component in

Archive contents

effet-formes-floues-flottantes-html-tailwind.zip3 files · 4 Ko

  • index.html3 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