Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- img:hover { /* Start the shake animation and make the animation last for 0.5 seconds */
- animation: shake 3.5s; /* When the animation is finished, start again */
- animation-iteration-count: infinite; }
- @keyframes shake { 0% {
- transform: translate(1px, 1px) rotate(0deg); }
- 10% { transform: translate(-1px, -2px) rotate(-1deg); }
- 20% { transform: translate(-3px, 0px) rotate(1deg); }
- 30% { transform: translate(3px, 2px) rotate(0deg); }
- 40% { transform: translate(1px, -1px) rotate(1deg); }
- 50% { transform: translate(-1px, 2px) rotate(-1deg); }
- 60% { transform: translate(-3px, 1px) rotate(0deg); }
- 70% { transform: translate(3px, 1px) rotate(-1deg); }
- 80% { transform: translate(-1px, -1px) rotate(1deg); }
- 90% { transform: translate(1px, 2px) rotate(0deg); }
- 100% { transform: translate(1px, -2px) rotate(-1deg); }
- }
- </style>
- <img src="https://64.media.tumblr.com/af0ba9cfc8ec4fce0371acc3f2a5fb5d/8c436493c1c20170-f4/s540x810/b408af581d440ddc4b72833f25095f4b1b926bef.jpg
- ">
Advertisement
Add Comment
Please, Sign In to add comment