Spotlight
Gradient Fill · Static · pure CSS
A near-white heading lit by a soft off-center gradient — almost monochrome, just a whisper of hue. The restrained way premium product sites treat hero type.
How it works
Spotlight is a static gradient fill text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.
Controls
Spotlight exposes 2 dedicated controls — Tint Hue and Tint — 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
/* Spotlight — generated with TEXT-FX
* HTML: just put the class on any element.
* Font: 'Bricolage Grotesque', sans-serif (load from Google Fonts).
*/
.text-effect {
font-family: 'Bricolage Grotesque', sans-serif;
font-weight: 400;
letter-spacing: 8px;
text-transform: none;
}
.text-effect {
background: radial-gradient(135% 135% at 30% 18%, hsl(117 21% 98%) 0%, hsl(117 21% 66%) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
filter: drop-shadow(0 1px 1px hsl(117 30% 4% / 0.5));
}
Pure CSS — just add the .text-effect class to any element.
- Category
- Gradient Fill
- Type
- Static
- Browser support
- All modern browsers
- Capabilities
- pure