Scanline Glitch

Glitch & Distortion · Animated · pure CSS

CRT-style scanlines over the text with a subtle flicker. Adds a retro-monitor texture without obscuring the letters.

Scanline Glitch

How it works

Scanline Glitch is an animated glitch & distortion text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.

Controls

Scanline Glitch exposes 2 dedicated controls — Hue and Speed — on top of the shared type controls (font, weight, letter-spacing and case). Open it in the generator to tune every value live, then copy the updated CSS.

CSS

/* Scanline Glitch — made with TEXT-FX · https://text-fx.app
 * HTML: just put the class on any element.
 * Font: 'Bungee', cursive (load from Google Fonts).
 */

.text-effect {
  font-family: 'Bungee', cursive;
  font-weight: 900;
  letter-spacing: 0px;
  text-transform: none;
}

.text-effect {
  background: repeating-linear-gradient(0deg, hsl(95 55% 66%) 0px, hsl(95 55% 66%) 2px, hsl(95 55% 30%) 2px, hsl(95 55% 30%) 4px);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 100% 8px;
  filter: drop-shadow(0 0 1px hsl(95 55% 60%)) drop-shadow(0 0 4px hsl(95 55% 60%));
  animation:
    text-effect-scan 7.8s linear infinite,
    text-effect-flick 2.60s steps(1, end) infinite;
}

@keyframes text-effect-scan {
  0%   { background-position: 0 0; }
  100% { background-position: 0 8px; }
}
@keyframes text-effect-flick {
  0%, 88%, 100% { opacity: 1; }
  90%           { opacity: 0.95; }
  94%           { opacity: 0.99; }
  97%           { opacity: 0.92; }
}

Pure CSS — just add the .text-effect class to any element.

Category
Glitch & Distortion
Type
Animated
Browser support
background-clip:text scanline gradient (all modern, -webkit- prefixed)
Capabilities
pure

Related Glitch & Distortion effects