Advertisement
Guest User

Untitled

a guest
Apr 30th, 2021
3,907
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. <style>
  2. #image01 {
  3. animation: shake 0.5s;
  4. animation-iteration-count: infinite;
  5. }
  6.  
  7. @keyframes shake {
  8. 0% { transform: translate(1px, 1px) rotate(0deg); }
  9. 10% { transform: translate(-1px, -2px) rotate(-1deg); }
  10. 20% { transform: translate(-3px, 0px) rotate(1deg); }
  11. 30% { transform: translate(3px, 2px) rotate(0deg); }
  12. 40% { transform: translate(1px, -1px) rotate(1deg); }
  13. 50% { transform: translate(-1px, 2px) rotate(-1deg); }
  14. 60% { transform: translate(-3px, 1px) rotate(0deg); }
  15. 70% { transform: translate(3px, 1px) rotate(-1deg); }
  16. 80% { transform: translate(-1px, -1px) rotate(1deg); }
  17. 90% { transform: translate(1px, 2px) rotate(0deg); }
  18. 100% { transform: translate(1px, -2px) rotate(-1deg); }
  19. }
  20. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement