Gold Foil
Metallic & Holographic · Static · pure CSS
Classic gold foil — a warm vertical metallic gradient with bright specular bands and a grounding shadow. Luxe lettering for logos and titles.
CSS
/* Gold Foil — generated with TEXT-FX
* HTML: just put the class on any element.
* Font: 'Unbounded', sans-serif (load from Google Fonts).
*/
.text-effect {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
letter-spacing: 8px;
text-transform: none;
}
.text-effect {
background: linear-gradient(180deg,
hsl(49 70% 91%) 0%,
hsl(43 90% 64%) 26%,
hsl(39 95% 37%) 50%,
hsl(43 92% 58%) 64%,
hsl(51 80% 91%) 80%,
hsl(43 88% 50%) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
filter: drop-shadow(0 1px 0 hsl(37 60% 28% / 0.7)) drop-shadow(0 0 5px hsl(43 95% 60% / 0.55));
}
Pure CSS — just add the .text-effect class to any element.
- Category
- Metallic & Holographic
- Type
- Static
- Browser support
- background-clip:text (all modern, -webkit- prefixed)
- Capabilities
- pure