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.

Emboss

How it works

Emboss 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

Emboss 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

/* 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

Related Shadow & Press effects