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
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
Reviews
No reviews yet.
In the same spirit

A large heading whose words turn from grey to ink as the page scrolls, then whose key phrases get a marker stroke, in pure CSS with a readable fallback.
- Tailwind
- React
- CSS
- WordPress

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

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

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