I make a button with a jerking effect, as on the site . I copied the animation code for the button, but the button does not work.
How can I create the same button?
I make a button with a jerking effect, as on the site . I copied the animation code for the button, but the button does not work.
How can I create the same button?
And keyframes copied?
Here, from the site of the example, they
<style type="text/css"> @-moz-keyframes cycle { 35% {transform: rotate(0) translate(0, 0);} 40% {transform: rotate(5deg) translate(0, -2px);} 45% {transform: rotate(-3deg) translate(0, -2px);} 50% {transform: rotate(5deg) translate(0, -2px);} 55% {transform: rotate(-3deg) translate(0, -2px);} 60% {transform: rotate(5deg) translate(0, -2px);} 65% {transform: rotate(-3deg) translate(0, -2px);} 70% {transform: rotate(0) translate(0, 0);} } @-webkit-keyframes cycle { 35% {transform: rotate(0) translate(0, 0);} 40% {transform: rotate(5deg) translate(0, -2px);} 45% {transform: rotate(-3deg) translate(0, -2px);} 50% {transform: rotate(5deg) translate(0, -2px);} 55% {transform: rotate(-3deg) translate(0, -2px);} 60% {transform: rotate(5deg) translate(0, -2px);} 65% {transform: rotate(-3deg) translate(0, -2px);} 70% {transform: rotate(0) translate(0, 0);} } </style> Source: https://ru.stackoverflow.com/questions/408589/
All Articles