How it works
This glitch text effect makes a headline look like a damaged video signal: horizontal slices of the word jump sideways in cyan and magenta while the main text stays put. It is common on gaming, cyberpunk and tech event sites.
Two copies of the text (aria-hidden) are stacked exactly over the original with position absolute and inset 0, one in Color 1, one in Color 2, both with mix-blend-mode: screen. The slice keyframe uses clip-path: inset() to show only a thin horizontal band of each copy, a different band at each of six steps, and translates the copy by up to Offset pixels. The timing function is steps(1, end), so bands jump between positions with no tweening, which is what makes it feel broken rather than wobbly. The second copy runs 1.35 times slower with a 0.1s delay, so the two layers never sync up.
Parameters: Text (up to 16 characters), Font size, Color 1, Color 2, Offset and Duration. An Offset of 2 to 4px at 56px text looks like signal noise; 8px and up looks like a deliberate split. Heavy, wide fonts show the slices best.
Screen blending works on dark backgrounds; on white the colored layers wash out. The effect is jittery by design, so honor prefers-reduced-motion and avoid it on body text.
How do I make the glitch happen only occasionally?
Edit the keyframe so the slicing happens in a short window, for example between 0% and 15%, and keep the clip-path at inset(50% 0% 50% 0%) (an empty band) for the rest of the cycle. Then raise Duration to 4 or 5 seconds. You get a brief burst of glitching followed by clean text.
Why does the effect look faded on a light background?
The colored copies use mix-blend-mode: screen, which only ever lightens what is behind it. On a dark page that makes cyan and magenta glow; on white there is nothing left to lighten, so they vanish. For light themes switch the blend mode to multiply and use darker colors, or remove blending.
Will screen readers read the text three times?
No. The two colored layers carry aria-hidden, so only the original text is in the accessibility tree. They are also absolutely positioned, so they do not affect layout or text selection in a confusing way. Keep the text short, because the clip-path bands are tuned for a single line.