Feature section on an aurora background
Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.
- Tailwind
- React
- CSS
- WordPress
Description
The feature section of SaaS pages, here for an invoicing app for freelancers: a level 2 heading, a lead text, six cards (icon, title, text) and a “Try free for 30 days” call to action (in French). The background is a mesh gradient made of four radial colour sheets, indigo, pink, cyan and violet, that slowly drift and blend like an aurora; only their transforms are animated, with no image or animated filter. The cards are frosted glass (backdrop-filter with blur and saturation, light edge, soft shadow) and become almost opaque in browsers without backdrop blur, so reading stays comfortable. The grid goes from one to two then three columns depending on the section width (container queries): remove or add list items to show three to six. A “Pause the background” button (aria-pressed) stops the drift at any time; it only appears with JavaScript and is removed under prefers-reduced-motion, where the background stays still in an equally colourful composition. Screen readers: a named list, icons and decoration hidden with aria-hidden, 44 px targets and a visible focus ring. AA contrast in light and dark mode over every area of the background. Colours, sheet opacity, glass and speed are set by the variables at the top of the file (--fmas-c1 to --fmas-c4, --fmas-blob, --fmas-glass, --fmas-speed). No dependencies.
Code
Loading the code…
The code of this component in
Archive contents
features-fond-maille-aurore-sections-html-tailwind.zip3 files · 7 Ko
- index.html12 Ko
- README.md5 Ko
- LICENSE.md1 Ko
Tags
Updated on December 3, 2026.
Reviews
No reviews yet.
In the same spirit

A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.
- Tailwind
- React
- CSS
- WordPress

Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.
- Tailwind
- React
- CSS
- WordPress

The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress

A two-offer table: checked rows, a column highlighted from top to bottom and one call-to-action button per offer. Pure HTML and CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress