2013-11-12 00:32:40 +01:00
|
|
|
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
|
|
|
|
|
|
|
@keyframes wobble {
|
2015-08-06 06:22:40 +02:00
|
|
|
from {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: none;
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
15% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
30% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
45% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
60% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
75% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
2015-08-21 04:26:35 +02:00
|
|
|
to {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: none;
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
2013-11-12 00:32:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.wobble {
|
2014-02-23 22:56:08 +01:00
|
|
|
animation-name: wobble;
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|