StealThis .dev

Aurora / Gradient Mesh

Smooth, flowing gradient meshes and aurora borealis color washes — organic, ethereal, and visually mesmerizing.

Open in Lab
html css javascript
Targets: JS HTML

Code

Aurora / Gradient Mesh

The Aurora style takes its visual cues from the northern lights — vast, sweeping bands of color that shift and breathe in slow motion across the sky. In CSS terms, this translates to an animated background-size: 400% 400% gradient mesh that cycles through sky blue, violet, deep pink, and amber over an 8-second loop, creating a constantly moving color environment that never repeats exactly.

Glass UI elements floating on top of the aurora are the natural complement: rgba(255,255,255,0.2) cards with backdrop-filter: blur(16px) give everything a frosted, cloud-like quality that references the atmospheric nature of the source material. White text at high opacity maintains readability against the shifting colors beneath.

The aurora streaks — four large, absolutely-positioned divs blurred to near-formlessness — add an additional depth layer between the background gradient and the UI surfaces. A slow mouse-position parallax effect causes these streaks to drift at different speeds, reinforcing the sense of looking through successive layers of atmosphere. Everything moves, but so slowly and smoothly that it feels restful rather than busy.

Key characteristics

  • Animated 4-stop gradient mesh (sky blue → violet → pink → amber) cycling at 8s
  • Four large aurora streak overlays with gentle glow and CSS pulse animation
  • White glass cards: rgba(255,255,255,0.2) + backdrop-filter: blur(16px)
  • Mouse-position parallax on aurora streaks (max 15px offset)
  • Solid white primary button for clear CTA contrast
  • All text white or near-white for aurora-background contrast

When to use it

Aurora / Gradient Mesh is ideal for hero sections, splash screens, creative portfolio covers, event landing pages, and any context where the goal is to produce an immediate “wow” reaction. The animated background is immersive and attention-commanding — it works best in full-viewport contexts rather than as a component inside a larger page layout.