2013-11-12 00:32:40 +01:00
|
|
|
@keyframes shake {
|
2014-02-23 22:56:08 +01:00
|
|
|
0%, 100% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(0, 0, 0);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
10%, 30%, 50%, 70%, 90% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(-10px, 0, 0);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
|
|
|
|
2014-02-23 22:56:08 +01:00
|
|
|
20%, 40%, 60%, 80% {
|
2014-07-06 22:32:34 +02:00
|
|
|
transform: translate3d(10px, 0, 0);
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|
2013-11-12 00:32:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.shake {
|
2014-02-23 22:56:08 +01:00
|
|
|
animation-name: shake;
|
2014-02-23 21:39:02 +01:00
|
|
|
}
|