Chrome
Metallic & Holographic · Static · pure CSS
A vertical metallic gradient clipped to the text with a soft drop-shadow for that shiny chrome bevel. Tint it warm or cool with a single control.
CSS
/* Chrome — 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: 0px;
text-transform: none;
}
.text-effect {
background: linear-gradient(180deg,
hsl(258 20% 96%) 0%,
hsl(258 26% 78%) 38%,
hsl(258 38% 42%) 50%,
hsl(258 30% 72%) 62%,
hsl(258 20% 98%) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
filter: drop-shadow(0 2px 1px rgba(0,0,0,.45));
}
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