30 CSS Hero Sections

Glass over Aurora

Frosted-glass card floating over a calm spa aurora — pale mint, champagne gold, soft rose. The wellness / luxury beauty editorial treatment.

Pure CSS MIT licensed
Live Demo Open in tab
Open in playground

The code

<section class="hs-gla" aria-label="Hero">
  <div class="hs-gla-aurora" aria-hidden="true"></div>
  <article class="hs-gla-card">
    <span class="hs-gla-eye">A daily ritual</span>
    <h2>Skincare without <em>the homework.</em></h2>
    <p>Three minutes. Two products. One routine that fits the life you actually live.</p>
    <a class="hs-gla-cta" href="#start">Find your routine</a>
  </article>
</section>
.hs-gla {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  width: 100%; min-height: 480px;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(circle at 20% 20%, #d6f0e0 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, #f9d4c8 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, #f3e3c0 0%, transparent 50%),
    #faf6ed;
  font-family: 'Inter', system-ui, sans-serif;
  color: #3d3a2c;
  box-sizing: border-box;
  contain: layout paint;
}
.hs-gla-aurora {
  position: absolute; inset: -10%;
  background: conic-gradient(from 90deg, #d6f0e0, #f9d4c8, #f3e3c0, #d6f0e0);
  filter: blur(50px); opacity: 0.5;
  animation: hs-gla-spin 30s linear infinite;
}
@keyframes hs-gla-spin { to { transform: rotate(360deg); } }
.hs-gla-card {
  position: relative; z-index: 1;
  max-width: 520px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 22px 60px rgba(195,150,120,0.18);
}
.hs-gla-eye {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px; font-style: italic;
  color: #b8956a; margin-bottom: 14px;
}
.hs-gla h2 {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.05;
  color: #2a2818;
}
.hs-gla h2 em { color: #b8956a; font-weight: 600; }
.hs-gla p { margin: 0 auto 24px; font-size: 15px; line-height: 1.6; color: #6b6755; max-width: 380px; }
.hs-gla-cta {
  display: inline-block; padding: 12px 28px;
  background: #2a2818; color: #faf6ed;
  border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  transition: background 0.18s;
}
.hs-gla-cta:hover { background: #b8956a; }
@media (prefers-reduced-motion: reduce) {
  .hs-gla-aurora { animation: none; }
  .hs-gla-cta { transition: none; }
}

Search CodeFronts

Loading…