# Long Shadow Text

> A flat-design long shadow that trails diagonally off the letters.

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

## HTML

```html
<h2 class="long-shadow">Hello</h2>
```

## CSS

```css
.long-shadow {
  margin: 0;
  color: #fff;
  font: 900 60px/1 system-ui, sans-serif;
  text-shadow:
    1px 1px #0f766e, 2px 2px #0f766e, 3px 3px #0f766e,
    4px 4px #0f766e, 5px 5px #0f766e, 6px 6px #0f766e,
    7px 7px #0f766e, 8px 8px #0f766e, 9px 9px #0f766e,
    10px 10px #0f766e, 11px 11px #0f766e, 12px 12px #0f766e;
}
```

## Notes

- This CSS Long Shadow Text is 10 lines of pure CSS (0.3 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.
