Live preview · fully interactive
The prompt
Build three wandering gradient orbs. ## Look Orbs are 40vw circles, min 180px, blur 30px, opacity 0.8. Colors #7c6cff, #f0abfc, #38bdf8. Wordmark clamp(40px, 8vw, 88px), tracking -0.06em, #f2f2f7. Page #08080d. ## Behavior Move the first and third with translate(15%, -10%) at the midpoint. Move the second with translate(-12%, 14%). ## Design tokens - Orbs #7c6cff, #f0abfc, #38bdf8; text #f2f2f7; page #08080d. ## Motion - Durations 12s, 14s, 16s, ease-in-out, infinite. The third orb is reversed. ## Constraints - Single self-contained HTML file. No libraries. CSS only. - Honor prefers-reduced-motion: reduce by skipping the loop and leaving a readable static frame - Readable at 390px width with no horizontal page scroll
The code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
background: #08080d; color: #f2f2f7; font-family: Inter, system-ui, sans-serif;
min-height: 100vh; overflow: hidden;
}
.hint { position: absolute; left: 16px; top: 16px; z-index: 5; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8a99; }
.orb { position: absolute; width: 40vw; height: 40vw; min-width: 180px; min-height: 180px; border-radius: 50%; filter: blur(30px); opacity: 0.8; } .o1 { background: #7c6cff; left: 10%; top: 20%; animation: a 12s ease-in-out infinite; } .o2 { background: #f0abfc; right: 8%; top: 30%; animation: b 14s ease-in-out infinite; } .o3 { background: #38bdf8; left: 30%; bottom: 8%; animation: a 16s ease-in-out infinite reverse; } h1 { position: relative; z-index: 2; min-height: 100vh; display: grid; place-items: center; font-size: clamp(40px, 8vw, 88px); letter-spacing: -0.06em; } @keyframes a { 50% { transform: translate(15%, -10%); } } @keyframes b { 50% { transform: translate(-12%, 14%); } }
@media (max-width: 420px) {
.hint { font-size: 10px; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
</style>
</head>
<body>
<div class="orb o1"></div><div class="orb o2"></div><div class="orb o3"></div><h1>Orbs</h1>
<script>
</script>
</body>
</html>About this effect
Blurred circles in violet, pink, and blue move on independent 12s paths. The wordmark stays sharp on top.