Smoke Drift
Elemental & Nature · Animated · pure CSS
Each letter softly blurs, lifts and fades then re-forms, offset per letter so a smoky haze rolls across the word. Stays legible (per-letter markup).
How it works
Smoke Drift is an animated elemental & nature text effect rendered entirely in CSS. Each character is wrapped in its own span so it can animate independently — the HTML and JSX exports include that per-letter markup.
Controls
Smoke Drift exposes 3 dedicated controls — Tint, Haze and Speed — on top of the shared type controls (font, weight, letter-spacing and case). Open it in the generator to tune every value live, then copy the updated CSS.
CSS
/* Smoke Drift — generated with TEXT-FX
* HTML: each character is wrapped in a <span> — see the HTML export.
* Font: 'Syne', sans-serif (load from Google Fonts).
*/
.text-effect {
font-family: 'Syne', sans-serif;
font-weight: 700;
letter-spacing: -2px;
text-transform: uppercase;
}
.text-effect {
color: hsl(322 14% 80%);
white-space: pre;
}
.text-effect .fx-ch {
display: inline-block;
animation: text-effect-smoke 5.2s ease-in-out infinite;
animation-delay: calc(var(--i) * -0.32s);
}
@keyframes text-effect-smoke {
0%, 100% { filter: blur(0); transform: translateY(0) rotate(0deg); opacity: 1; }
50% { filter: blur(1.5px); transform: translateY(-2.4000000000000004px) rotate(1.5deg); opacity: 0.62; }
}
HTML
This effect needs the markup below (per-letter spans, SVG defs, or a data-text attribute).
<style>
.text-effect {
font-family: 'Syne', sans-serif;
font-weight: 700;
letter-spacing: -2px;
text-transform: uppercase;
}
.text-effect {
color: hsl(322 14% 80%);
white-space: pre;
}
.text-effect .fx-ch {
display: inline-block;
animation: text-effect-smoke 5.2s ease-in-out infinite;
animation-delay: calc(var(--i) * -0.32s);
}
@keyframes text-effect-smoke {
0%, 100% { filter: blur(0); transform: translateY(0) rotate(0deg); opacity: 1; }
50% { filter: blur(1.5px); transform: translateY(-2.4000000000000004px) rotate(1.5deg); opacity: 0.62; }
}
</style>
<div class="text-effect">
<span class="fx-ch" style="--i:0;--n:9;--rev:8;--mid:4">Y</span>
<span class="fx-ch" style="--i:1;--n:9;--rev:7;--mid:4">o</span>
<span class="fx-ch" style="--i:2;--n:9;--rev:6;--mid:4">u</span>
<span class="fx-ch" style="--i:3;--n:9;--rev:5;--mid:4">r</span>
<span class="fx-ch" style="--i:4;--n:9;--rev:4;--mid:4"> </span>
<span class="fx-ch" style="--i:5;--n:9;--rev:3;--mid:4">t</span>
<span class="fx-ch" style="--i:6;--n:9;--rev:2;--mid:4">e</span>
<span class="fx-ch" style="--i:7;--n:9;--rev:1;--mid:4">x</span>
<span class="fx-ch" style="--i:8;--n:9;--rev:0;--mid:4">t</span>
</div>
- Category
- Elemental & Nature
- Type
- Animated
- Browser support
- All modern browsers
- Capabilities
- perLetter