# Striped Text

> Bold display text filled with 70s-style horizontal stripes using a repeating gradient clip.

- Category: [CSS Text Effects](https://copy-css.com/category/text)
- Tags: stripes, pattern, retro, 70s, background-clip
- Live preview: https://copy-css.com/snippets/striped-text
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<h2 class="text-stripes">RETRO</h2>
```

## CSS

```css
.text-stripes {
  margin: 0;
  font: 900 60px/1 system-ui, sans-serif;
  letter-spacing: 0.02em;
  background: repeating-linear-gradient(
    180deg,
    #dc2626 0 5px,
    #f97316 5px 10px,
    #facc15 10px 15px
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
```

## Notes

- This CSS Striped Text is 14 lines of pure CSS (0.3 KB) with no JavaScript and no dependencies. It uses linear gradients and gradient-clipped text.
- gradient-clipped text: Includes the -webkit- prefix Safari still needs.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
