nyanyanyan

glitchy text animation (css/html)

Aug 21st, 2025
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <style>
  2. .glitched {
  3. animation: glitch-1 2s infinite linear;
  4. }
  5.  
  6. @keyframes glitch-1 {
  7. 0%,
  8. 13%,
  9. 15%,
  10. 52%,
  11. 55%,
  12. 84%,
  13. 87%,
  14. 100% {
  15. opacity: 1;
  16. transform: scaleX(1) scaleY(1);
  17. }
  18.  
  19. 14% {
  20. opacity: .9;
  21. transform: scaleY(2);
  22. color: #;
  23. }
  24.  
  25. 53% {
  26. opacity: .8;
  27. transform: scaleX(.7);
  28. color: #;
  29. }
  30.  
  31. 85% {
  32. opacity: 8;
  33. transform: rotate(-10deg);
  34. color: #;
  35. }
  36. }
  37.  
  38. @keyframes glitch-2 {
  39. 14% {
  40. color: #;
  41. }
  42.  
  43. 53% {
  44. color: #;
  45. }
  46.  
  47. 85% {
  48. color: #;
  49. }
  50. }
  51. </style>
  52. <div class="glitched">Glitchy</div>
  53.  
  54.  
Advertisement
Add Comment
Please, Sign In to add comment