25 CSS Blockquotes18 / 25
Aurora Gradient Background CSS Blockquote
The aurora backdrop that headlines half the AI-product landing pages of the decade, built the performant way: three oversized radial-gradient blobs on their own layers, blurred once with filter: blur(70px), drifting on transform-only keyframes (never background-position — that repaints the gradient every frame), with a slow hue-rotate on the container cycling the palette through the teal-violet-magenta range. The quote floats above on a thin glass panel, and the whole sky freezes into a designed still under prefers-reduced-motion.
Published Updated
The code
<section class="bq-18" aria-label="Aurora gradient background blockquote demo">
<div class="bq-18__stage">
<div class="bq-18__sky" aria-hidden="true">
<i class="bq-18__blob bq-18__blob--a"></i>
<i class="bq-18__blob bq-18__blob--b"></i>
<i class="bq-18__blob bq-18__blob--c"></i>
</div>
<figure class="bq-18__panel">
<p class="bq-18__kicker">Above the weather</p>
<blockquote>
<p>“Somewhere, something incredible is waiting to be known.”</p>
</blockquote>
<figcaption class="bq-18__by">— Carl Sagan</figcaption>
</figure>
<p class="bq-18__chip" aria-hidden="true">3 radial blobs · transform-only drift · one hue-rotate wrapper</p>
</div>
</section><section class="bq-18" aria-label="Aurora gradient background blockquote demo">
<div class="bq-18__stage">
<div class="bq-18__sky" aria-hidden="true">
<i class="bq-18__blob bq-18__blob--a"></i>
<i class="bq-18__blob bq-18__blob--b"></i>
<i class="bq-18__blob bq-18__blob--c"></i>
</div>
<figure class="bq-18__panel">
<p class="bq-18__kicker">Above the weather</p>
<blockquote>
<p>“Somewhere, something incredible is waiting to be known.”</p>
</blockquote>
<figcaption class="bq-18__by">— Carl Sagan</figcaption>
</figure>
<p class="bq-18__chip" aria-hidden="true">3 radial blobs · transform-only drift · one hue-rotate wrapper</p>
</div>
</section>.bq-18,
.bq-18 *,
.bq-18 *::before,
.bq-18 *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.bq-18 {
width: 100%;
min-height: 100vh;
min-height: 100svh;
display: block;
--bg: oklch(0.14 0.02 275);
--ink: oklch(0.97 0.008 260);
--mut: oklch(0.75 0.03 260);
font-family: 'Segoe UI',system-ui,sans-serif;
color: var(--ink);
}
.bq-18__stage {
position: relative;
width: 100%;
height: 100vh;
height: 100svh;
display: grid;
place-items: center;
align-content: center;
gap: 26px;
padding: clamp(20px,5vw,56px);
background: var(--bg);
overflow: hidden;
}
.bq-18__sky {
position: absolute;
inset: -10%;
filter: hue-rotate(0deg);
animation: bq18-hue 44s linear infinite;
pointer-events: none;
}
.bq-18__blob {
position: absolute;
border-radius: 50%;
filter: blur(70px);
mix-blend-mode: screen;
}
.bq-18__blob--a {
width: 55vmax;
height: 55vmax;
left: -12%;
top: -18%;
background: radial-gradient(circle,oklch(0.75 0.19 200/.5),transparent 65%);
animation: bq18-drift 26s ease-in-out infinite alternate;
}
.bq-18__blob--b {
width: 48vmax;
height: 48vmax;
right: -14%;
top: -6%;
background: radial-gradient(circle,oklch(0.6 0.22 290/.45),transparent 65%);
animation: bq18-drift 31s ease-in-out infinite alternate-reverse;
}
.bq-18__blob--c {
width: 42vmax;
height: 42vmax;
left: 22%;
bottom: -28%;
background: radial-gradient(circle,oklch(0.68 0.2 340/.4),transparent 65%);
animation: bq18-drift 23s ease-in-out infinite alternate;
}
@keyframes bq18-drift {
from {
transform: translate(-8%,-6%) scale(1);
}
to {
transform: translate(10%,8%) scale(1.18);
}
}
@keyframes bq18-hue {
to {
filter: hue-rotate(360deg);
}
}
.bq-18__panel {
position: relative;
width: min(100%,560px);
text-align: center;
padding: clamp(30px,5vw,48px);
border-radius: 24px;
background: oklch(0.2 0.03 280/.5);
border: 1px solid oklch(1 0 0/.16);
box-shadow: inset 0 1px 0 oklch(1 0 0/.14),0 30px 70px oklch(0 0 0/.5);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
.bq-18__panel {
background: oklch(0.2 0.03 280/.32);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
}
}
.bq-18__kicker {
font-size: 11.5px;
font-weight: 700;
letter-spacing: .3em;
text-transform: uppercase;
color: var(--mut);
margin-bottom: 16px;
}
.bq-18__panel blockquote p {
font-size: clamp(24px,3.4vw,36px);
line-height: 1.3;
font-weight: 700;
letter-spacing: -.02em;
text-wrap: balance;
text-shadow: 0 2px 10px oklch(0 0 0/.3);
}
.bq-18__by {
margin-top: 16px;
font-size: 14px;
color: var(--mut);
}
.bq-18__chip {
position: relative;
font-family: ui-monospace,Menlo,Consolas,monospace;
font-size: 11.5px;
color: var(--mut);
padding: 7px 13px;
border: 1px solid oklch(1 0 0/.14);
border-radius: 99px;
background: oklch(0.18 0.02 275/.5);
}
@media (prefers-reduced-motion: reduce) {
.bq-18 * {
transition-duration: .01ms !important;
animation: none !important;
}
}.bq-18,
.bq-18 *,
.bq-18 *::before,
.bq-18 *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.bq-18 {
width: 100%;
min-height: 100vh;
min-height: 100svh;
display: block;
--bg: oklch(0.14 0.02 275);
--ink: oklch(0.97 0.008 260);
--mut: oklch(0.75 0.03 260);
font-family: 'Segoe UI',system-ui,sans-serif;
color: var(--ink);
}
.bq-18__stage {
position: relative;
width: 100%;
height: 100vh;
height: 100svh;
display: grid;
place-items: center;
align-content: center;
gap: 26px;
padding: clamp(20px,5vw,56px);
background: var(--bg);
overflow: hidden;
}
.bq-18__sky {
position: absolute;
inset: -10%;
filter: hue-rotate(0deg);
animation: bq18-hue 44s linear infinite;
pointer-events: none;
}
.bq-18__blob {
position: absolute;
border-radius: 50%;
filter: blur(70px);
mix-blend-mode: screen;
}
.bq-18__blob--a {
width: 55vmax;
height: 55vmax;
left: -12%;
top: -18%;
background: radial-gradient(circle,oklch(0.75 0.19 200/.5),transparent 65%);
animation: bq18-drift 26s ease-in-out infinite alternate;
}
.bq-18__blob--b {
width: 48vmax;
height: 48vmax;
right: -14%;
top: -6%;
background: radial-gradient(circle,oklch(0.6 0.22 290/.45),transparent 65%);
animation: bq18-drift 31s ease-in-out infinite alternate-reverse;
}
.bq-18__blob--c {
width: 42vmax;
height: 42vmax;
left: 22%;
bottom: -28%;
background: radial-gradient(circle,oklch(0.68 0.2 340/.4),transparent 65%);
animation: bq18-drift 23s ease-in-out infinite alternate;
}
@keyframes bq18-drift {
from {
transform: translate(-8%,-6%) scale(1);
}
to {
transform: translate(10%,8%) scale(1.18);
}
}
@keyframes bq18-hue {
to {
filter: hue-rotate(360deg);
}
}
.bq-18__panel {
position: relative;
width: min(100%,560px);
text-align: center;
padding: clamp(30px,5vw,48px);
border-radius: 24px;
background: oklch(0.2 0.03 280/.5);
border: 1px solid oklch(1 0 0/.16);
box-shadow: inset 0 1px 0 oklch(1 0 0/.14),0 30px 70px oklch(0 0 0/.5);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
.bq-18__panel {
background: oklch(0.2 0.03 280/.32);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
}
}
.bq-18__kicker {
font-size: 11.5px;
font-weight: 700;
letter-spacing: .3em;
text-transform: uppercase;
color: var(--mut);
margin-bottom: 16px;
}
.bq-18__panel blockquote p {
font-size: clamp(24px,3.4vw,36px);
line-height: 1.3;
font-weight: 700;
letter-spacing: -.02em;
text-wrap: balance;
text-shadow: 0 2px 10px oklch(0 0 0/.3);
}
.bq-18__by {
margin-top: 16px;
font-size: 14px;
color: var(--mut);
}
.bq-18__chip {
position: relative;
font-family: ui-monospace,Menlo,Consolas,monospace;
font-size: 11.5px;
color: var(--mut);
padding: 7px 13px;
border: 1px solid oklch(1 0 0/.14);
border-radius: 99px;
background: oklch(0.18 0.02 275/.5);
}
@media (prefers-reduced-motion: reduce) {
.bq-18 * {
transition-duration: .01ms !important;
animation: none !important;
}
}Here's a working CSS Blockquote from CodeFronts. Use it as-is or adapt to your framework. All classes are scoped under a unique prefix so the code won't collide with your existing styles. MIT licensed.
Demo: Aurora Gradient Background CSS Blockquote
Source: https://codefronts.com/snippets/css-blockquotes/aurora-drift/
The aurora backdrop that headlines half the AI-product landing pages of the decade, built the performant way: three oversized radial-gradient blobs on their own layers, blurred once with filter: blur(70px), drifting on transform-only keyframes (never background-position — that repaints the gradient every frame), with a slow hue-rotate on the container cycling the palette through the teal-violet-magenta range. The quote floats above on a thin glass panel, and the whole sky freezes into a designed still under prefers-reduced-motion.
## HTML
```html
<section class="bq-18" aria-label="Aurora gradient background blockquote demo">
<div class="bq-18__stage">
<div class="bq-18__sky" aria-hidden="true">
<i class="bq-18__blob bq-18__blob--a"></i>
<i class="bq-18__blob bq-18__blob--b"></i>
<i class="bq-18__blob bq-18__blob--c"></i>
</div>
<figure class="bq-18__panel">
<p class="bq-18__kicker">Above the weather</p>
<blockquote>
<p>“Somewhere, something incredible is waiting to be known.”</p>
</blockquote>
<figcaption class="bq-18__by">— Carl Sagan</figcaption>
</figure>
<p class="bq-18__chip" aria-hidden="true">3 radial blobs · transform-only drift · one hue-rotate wrapper</p>
</div>
</section>
```
## CSS
```css
.bq-18,
.bq-18 *,
.bq-18 *::before,
.bq-18 *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.bq-18 {
width: 100%;
min-height: 100vh;
min-height: 100svh;
display: block;
--bg: oklch(0.14 0.02 275);
--ink: oklch(0.97 0.008 260);
--mut: oklch(0.75 0.03 260);
font-family: 'Segoe UI',system-ui,sans-serif;
color: var(--ink);
}
.bq-18__stage {
position: relative;
width: 100%;
height: 100vh;
height: 100svh;
display: grid;
place-items: center;
align-content: center;
gap: 26px;
padding: clamp(20px,5vw,56px);
background: var(--bg);
overflow: hidden;
}
.bq-18__sky {
position: absolute;
inset: -10%;
filter: hue-rotate(0deg);
animation: bq18-hue 44s linear infinite;
pointer-events: none;
}
.bq-18__blob {
position: absolute;
border-radius: 50%;
filter: blur(70px);
mix-blend-mode: screen;
}
.bq-18__blob--a {
width: 55vmax;
height: 55vmax;
left: -12%;
top: -18%;
background: radial-gradient(circle,oklch(0.75 0.19 200/.5),transparent 65%);
animation: bq18-drift 26s ease-in-out infinite alternate;
}
.bq-18__blob--b {
width: 48vmax;
height: 48vmax;
right: -14%;
top: -6%;
background: radial-gradient(circle,oklch(0.6 0.22 290/.45),transparent 65%);
animation: bq18-drift 31s ease-in-out infinite alternate-reverse;
}
.bq-18__blob--c {
width: 42vmax;
height: 42vmax;
left: 22%;
bottom: -28%;
background: radial-gradient(circle,oklch(0.68 0.2 340/.4),transparent 65%);
animation: bq18-drift 23s ease-in-out infinite alternate;
}
@keyframes bq18-drift {
from {
transform: translate(-8%,-6%) scale(1);
}
to {
transform: translate(10%,8%) scale(1.18);
}
}
@keyframes bq18-hue {
to {
filter: hue-rotate(360deg);
}
}
.bq-18__panel {
position: relative;
width: min(100%,560px);
text-align: center;
padding: clamp(30px,5vw,48px);
border-radius: 24px;
background: oklch(0.2 0.03 280/.5);
border: 1px solid oklch(1 0 0/.16);
box-shadow: inset 0 1px 0 oklch(1 0 0/.14),0 30px 70px oklch(0 0 0/.5);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
.bq-18__panel {
background: oklch(0.2 0.03 280/.32);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
}
}
.bq-18__kicker {
font-size: 11.5px;
font-weight: 700;
letter-spacing: .3em;
text-transform: uppercase;
color: var(--mut);
margin-bottom: 16px;
}
.bq-18__panel blockquote p {
font-size: clamp(24px,3.4vw,36px);
line-height: 1.3;
font-weight: 700;
letter-spacing: -.02em;
text-wrap: balance;
text-shadow: 0 2px 10px oklch(0 0 0/.3);
}
.bq-18__by {
margin-top: 16px;
font-size: 14px;
color: var(--mut);
}
.bq-18__chip {
position: relative;
font-family: ui-monospace,Menlo,Consolas,monospace;
font-size: 11.5px;
color: var(--mut);
padding: 7px 13px;
border: 1px solid oklch(1 0 0/.14);
border-radius: 99px;
background: oklch(0.18 0.02 275/.5);
}
@media (prefers-reduced-motion: reduce) {
.bq-18 * {
transition-duration: .01ms !important;
animation: none !important;
}
}
```Here's a working CSS Blockquote from CodeFronts. Use it as-is or adapt to your framework. All classes are scoped under a unique prefix so the code won't collide with your existing styles. MIT licensed.
Demo: Aurora Gradient Background CSS Blockquote
Source: https://codefronts.com/snippets/css-blockquotes/aurora-drift/
The aurora backdrop that headlines half the AI-product landing pages of the decade, built the performant way: three oversized radial-gradient blobs on their own layers, blurred once with filter: blur(70px), drifting on transform-only keyframes (never background-position — that repaints the gradient every frame), with a slow hue-rotate on the container cycling the palette through the teal-violet-magenta range. The quote floats above on a thin glass panel, and the whole sky freezes into a designed still under prefers-reduced-motion.
## HTML
```html
<section class="bq-18" aria-label="Aurora gradient background blockquote demo">
<div class="bq-18__stage">
<div class="bq-18__sky" aria-hidden="true">
<i class="bq-18__blob bq-18__blob--a"></i>
<i class="bq-18__blob bq-18__blob--b"></i>
<i class="bq-18__blob bq-18__blob--c"></i>
</div>
<figure class="bq-18__panel">
<p class="bq-18__kicker">Above the weather</p>
<blockquote>
<p>“Somewhere, something incredible is waiting to be known.”</p>
</blockquote>
<figcaption class="bq-18__by">— Carl Sagan</figcaption>
</figure>
<p class="bq-18__chip" aria-hidden="true">3 radial blobs · transform-only drift · one hue-rotate wrapper</p>
</div>
</section>
```
## CSS
```css
.bq-18,
.bq-18 *,
.bq-18 *::before,
.bq-18 *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.bq-18 {
width: 100%;
min-height: 100vh;
min-height: 100svh;
display: block;
--bg: oklch(0.14 0.02 275);
--ink: oklch(0.97 0.008 260);
--mut: oklch(0.75 0.03 260);
font-family: 'Segoe UI',system-ui,sans-serif;
color: var(--ink);
}
.bq-18__stage {
position: relative;
width: 100%;
height: 100vh;
height: 100svh;
display: grid;
place-items: center;
align-content: center;
gap: 26px;
padding: clamp(20px,5vw,56px);
background: var(--bg);
overflow: hidden;
}
.bq-18__sky {
position: absolute;
inset: -10%;
filter: hue-rotate(0deg);
animation: bq18-hue 44s linear infinite;
pointer-events: none;
}
.bq-18__blob {
position: absolute;
border-radius: 50%;
filter: blur(70px);
mix-blend-mode: screen;
}
.bq-18__blob--a {
width: 55vmax;
height: 55vmax;
left: -12%;
top: -18%;
background: radial-gradient(circle,oklch(0.75 0.19 200/.5),transparent 65%);
animation: bq18-drift 26s ease-in-out infinite alternate;
}
.bq-18__blob--b {
width: 48vmax;
height: 48vmax;
right: -14%;
top: -6%;
background: radial-gradient(circle,oklch(0.6 0.22 290/.45),transparent 65%);
animation: bq18-drift 31s ease-in-out infinite alternate-reverse;
}
.bq-18__blob--c {
width: 42vmax;
height: 42vmax;
left: 22%;
bottom: -28%;
background: radial-gradient(circle,oklch(0.68 0.2 340/.4),transparent 65%);
animation: bq18-drift 23s ease-in-out infinite alternate;
}
@keyframes bq18-drift {
from {
transform: translate(-8%,-6%) scale(1);
}
to {
transform: translate(10%,8%) scale(1.18);
}
}
@keyframes bq18-hue {
to {
filter: hue-rotate(360deg);
}
}
.bq-18__panel {
position: relative;
width: min(100%,560px);
text-align: center;
padding: clamp(30px,5vw,48px);
border-radius: 24px;
background: oklch(0.2 0.03 280/.5);
border: 1px solid oklch(1 0 0/.16);
box-shadow: inset 0 1px 0 oklch(1 0 0/.14),0 30px 70px oklch(0 0 0/.5);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
.bq-18__panel {
background: oklch(0.2 0.03 280/.32);
-webkit-backdrop-filter: blur(14px) saturate(140%);
backdrop-filter: blur(14px) saturate(140%);
}
}
.bq-18__kicker {
font-size: 11.5px;
font-weight: 700;
letter-spacing: .3em;
text-transform: uppercase;
color: var(--mut);
margin-bottom: 16px;
}
.bq-18__panel blockquote p {
font-size: clamp(24px,3.4vw,36px);
line-height: 1.3;
font-weight: 700;
letter-spacing: -.02em;
text-wrap: balance;
text-shadow: 0 2px 10px oklch(0 0 0/.3);
}
.bq-18__by {
margin-top: 16px;
font-size: 14px;
color: var(--mut);
}
.bq-18__chip {
position: relative;
font-family: ui-monospace,Menlo,Consolas,monospace;
font-size: 11.5px;
color: var(--mut);
padding: 7px 13px;
border: 1px solid oklch(1 0 0/.14);
border-radius: 99px;
background: oklch(0.18 0.02 275/.5);
}
@media (prefers-reduced-motion: reduce) {
.bq-18 * {
transition-duration: .01ms !important;
animation: none !important;
}
}
```How this works
Each blob is a radial gradient that fades to transparent, blurred and drifted by transform:
.blob{ position:absolute; width:55vmax; height:55vmax;
border-radius:50%;
background:radial-gradient(circle at 50% 50%,
oklch(0.75 0.19 200 / .55), transparent 65%);
filter:blur(70px);
animation:bq18-drift 26s ease-in-out infinite alternate;
}
@keyframes bq18-drift{
from{ transform:translate(-8%, -6%) scale(1); }
to { transform:translate(10%, 8%) scale(1.18); }
}The performance contract: blur is expensive, so it's applied once to a static gradient, and only transform animates — that's a compositor-only move, meaning the blurred texture is rasterized once and slid around at 60fps. The classic mistake this demo exists to correct is animating background-position or the gradient stops themselves, which forces a full repaint of a 70px-blurred layer every frame.
The color cycling comes free from one rule on the blob container — animation: hue 40s linear infinite rotating filter:hue-rotate() — one property recolors all three blobs in concert, keeping them harmonized as they cycle. Three blobs is the minimum for 'aurora' (two reads as a gradient, three reads as weather); their sizes are in vmax so the sky scales with the largest viewport dimension.
Make it yours
- Palette: set the three blob hues ~60–100deg apart in oklch (200/290/340 here). For 'sunset aurora' use 20/60/320; keep lightness 0.7+ so the dark sky stays behind them.
- Density: chroma and the alpha in each gradient control intensity — halve the alphas for a whisper-aurora that works behind long-form text.
- Speed: 20–30s cycles read as atmosphere; under 10s reads as a screensaver. The hue rotation should be slower still (40s+).
- Light mode aurora: same blobs at .25 alpha over oklch(0.97 0.01 250), with the quote panel swapped to dark-on-light — the technique is theme-agnostic.
Gotchas — read before shipping
- Never animate background-position on a blurred layer — transform-only drift is the entire performance story here. If your aurora janks, this is why.
- Big blur radii on huge elements can exhaust GPU memory on low-end phones: cap blob size (55vmax here), and reduce blur to ~40px below 480px viewports.
- hue-rotate is a filter on the PARENT of the blobs — putting it on each blob multiplies filter costs; one wrapper, one filter.
- Text directly on an aurora fails contrast somewhere in the cycle, guaranteed — always interpose a scrim or glass panel and test at the palette's lightest moment.
Browser support
| Chrome | Safari | Firefox | Edge |
|---|---|---|---|
| 114+ | 17.5+ | 121+ | 114+ |
Floor set by oklch(), backdrop-filter, text-wrap as this demo is written. The core technique itself goes back further — Chrome 111+.
filter, transform animation and radial gradients are universal; backdrop-filter on the quote panel has the demo-09 fallback. Floor is oklch colors.