Advertisement
GIFCITY

glitching text

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