# Neon Text

> Glowing neon sign text with a subtle flicker, built with text-shadow.

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

## HTML

```html
<h2 class="text-neon">Open late</h2>
```

## CSS

```css
.text-neon {
  margin: 0;
  font: 700 42px/1 system-ui, sans-serif;
  color: #ecfeff;
  text-shadow:
    0 0 4px #fff,
    0 0 12px #22d3ee,
    0 0 28px #22d3ee,
    0 0 56px #0891b2;
  animation: flicker 3s infinite;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .text-neon {
    animation: none;
  }
}
```

## Notes

- This CSS Neon Text is 22 lines of pure CSS (0.4 KB) with no JavaScript and no dependencies. It uses keyframe animations, text shadows and reduced-motion support.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
