# Letterpress Text

> Text that looks pressed into the surface, using a light highlight below each letter.

- Category: [CSS Text Effects](https://copy-css.com/category/text)
- Tags: letterpress, emboss, inset, text-shadow, subtle
- Live preview: https://copy-css.com/snippets/letterpress-text
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<h2 class="letterpress">Pressed</h2>
```

## CSS

```css
.letterpress {
  margin: 0;
  color: #78716c;
  font: 800 54px/1 system-ui, sans-serif;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 -1px 0 rgba(0, 0, 0, 0.15);
}
```

## Notes

- This CSS Letterpress Text is 8 lines of pure CSS (0.2 KB) with no JavaScript and no dependencies. It uses text shadows.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
