mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-16 17:18:27 +01:00
26 lines
273 B
CSS
26 lines
273 B
CSS
|
@keyframes shakeX {
|
||
|
from,
|
||
|
to {
|
||
|
transform: translate3d(0, 0, 0);
|
||
|
}
|
||
|
|
||
|
10%,
|
||
|
30%,
|
||
|
50%,
|
||
|
70%,
|
||
|
90% {
|
||
|
transform: translate3d(-10px, 0, 0);
|
||
|
}
|
||
|
|
||
|
20%,
|
||
|
40%,
|
||
|
60%,
|
||
|
80% {
|
||
|
transform: translate3d(10px, 0, 0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.shakeX {
|
||
|
animation-name: shakeX;
|
||
|
}
|