Emboss
Shadow & Press · Static · pure CSS
A raised, embossed relief created with opposing light and dark text-shadows that adapt to the theme. A tactile, debossed-paper feel.
CSS
/* Emboss — generated with TEXT-FX
* HTML: just put the class on any element.
* Font: 'Space Mono', monospace (load from Google Fonts).
*/
.text-effect {
font-family: 'Space Mono', monospace;
font-weight: 700;
letter-spacing: -2px;
text-transform: none;
}
.text-effect {
color: hsl(151 12% 32%);
text-shadow:
0 -1.5px 0.9px hsl(151 22% 55% / 0.8),
0 1.5px 0.9px hsl(151 45% 3% / 0.9);
}
Pure CSS — just add the .text-effect class to any element.
- Category
- Shadow & Press
- Type
- Static
- Browser support
- All modern browsers
- Capabilities
- pure