Open in editor
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: #05060a; color: #fff; font: 700 clamp(2rem, 6vw, 4rem) system-ui, sans-serif; letter-spacing: -.03em; }
h1 { position: relative; margin: 0; }
.aurora { --a: #2ee6a6; --b: #6a5cff; --c: #ff4fd8; position: fixed; inset: 0; overflow: hidden; filter: blur(70px) saturate(1.3); opacity: .7; }
.aurora i { position: absolute; width: 50vmax; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--a); top: -20%; left: -10%; }
.aurora i:nth-child(2) { background: var(--b); bottom: -25%; right: -10%; animation-duration: 22s; }
.aurora i:nth-child(3) { background: var(--c); top: 30%; left: 35%; width: 30vmax; animation-duration: 26s; }
@keyframes drift { to { transform: translate(15vw, 10vh) rotate(40deg) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .aurora i { animation: none; } }

Usage

Put `.aurora` behind your content (it's `position: fixed`). Colors are `--a`, `--b`, `--c`.