Animated glitch text effect with CSS only

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI20 min

About this video

A CSS tutorial that builds an animated glitch text effect using text-shadow, keyframes and clip-path. It also shows how to stop the animation for users who prefer reduced motion.

What you’ll learn

  • Build a glitch text effect using text-shadow and keyframes
  • Use clip-path to create broken text slices
  • Respect prefers-reduced-motion when adding text animation