animate.css/source/attention_seekers/headShake.css

31 lines
443 B
CSS
Raw Normal View History

@keyframes headShake {
2015-12-14 20:41:16 +01:00
0% {
2015-12-08 18:58:41 +01:00
transform: translateX(0);
}
2015-09-24 15:17:12 +02:00
6.5% {
2015-12-08 18:58:41 +01:00
transform: translateX(-6px) rotateY(-9deg);
}
2015-09-24 15:17:12 +02:00
18.5% {
2015-12-08 18:58:41 +01:00
transform: translateX(5px) rotateY(7deg);
}
2015-09-24 15:17:12 +02:00
31.5% {
2015-12-08 18:58:41 +01:00
transform: translateX(-3px) rotateY(-5deg);
}
2015-09-24 15:17:12 +02:00
43.5% {
2015-12-08 18:58:41 +01:00
transform: translateX(2px) rotateY(3deg);
}
2015-09-24 15:17:12 +02:00
50% {
2015-12-08 18:58:41 +01:00
transform: translateX(0);
}
}
.headShake {
animation-timing-function: ease-in-out;
animation-name: headShake;
2015-12-08 18:58:41 +01:00
}