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.
How it works
Letterpress is a static shadow & press text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.
Controls
Letterpress exposes 2 dedicated controls — Depth and Tint Hue — 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
/* Letterpress — made with TEXT-FX · https://text-fx.app
* 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