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