CSS Text Glitch Effect Generator

Add glitch effects to text — RGB split, shake, or sliced displacement with pure CSS animations.

Live preview

GLITCH

HTML

<div class="glitch">GLITCH</div>

CSS

.glitch {
  color: #ffffff;
  font-weight: 700;
  animation: glitch-rgb 2.00s infinite linear alternate-reverse;
}

@keyframes glitch-rgb {
  0% {
    text-shadow: -2px 0 #ff00c1, 2px 0 #00fff9;
  }
  25% {
    text-shadow: -3px 1px #ff00c1, 3px -1px #00fff9;
  }
  50% {
    text-shadow: 2px -2px #ff00c1, -2px 2px #00fff9;
  }
  75% {
    text-shadow: -1px 2px #ff00c1, 1px -2px #00fff9;
  }
  100% {
    text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9;
  }
}