Letterpress
Shadow & Press · Static · pure CSS
A pressed-in letterpress look: a light highlight and a dark inset that match the background tone. Subtle, classy and theme-aware.
CSS
/* Letterpress — generated with TEXT-FX
* HTML: just put the class on any element.
* Font: 'Space Grotesk', sans-serif (load from Google Fonts).
*/
.text-effect {
font-family: 'Space Grotesk', sans-serif;
font-weight: 900;
letter-spacing: 0px;
text-transform: none;
}
.text-effect {
color: hsl(86 12% 28%);
text-shadow:
0 1px 0.5px hsl(86 18% 42% / 0.7),
0 -1px 0.5px hsl(86 40% 4% / 0.85);
}
Pure CSS — just add the .text-effect class to any element.
- Category
- Shadow & Press
- Type
- Static
- Browser support
- All modern browsers
- Capabilities
- pure