Heartbeat Effect - CSS

HTML
<div class="backbutton"> <img src="http://www.placehold.it/300x300" /> </div>
CSS
@-webkit-keyframes heartbeat { 0% { -webkit-transform: scale(1); } 50% { -webkit-transform: scale(0.9); } 100% { -webkit-transform: scale(1); } } .backbutton img:hover { -webkit-animation-name: heartbeat; -webkit-animation-duration: 300ms; -webkit-transform-origin:50% 50%; -webkit-animation-iteration-count: 2; -webkit-animation-timing-function: linear; }
JAVASCRIPT
Expand for more options Login