animate.css/source/attention_seekers/shake.css

26 lines
270 B
CSS
Raw Permalink Normal View History

@keyframes shake {
2017-11-16 00:20:46 +01:00
from,
to {
transform: translate3d(0, 0, 0);
}
2017-11-16 00:20:46 +01:00
10%,
30%,
50%,
70%,
90% {
transform: translate3d(-10px, 0, 0);
}
2017-11-16 00:20:46 +01:00
20%,
40%,
60%,
80% {
transform: translate3d(10px, 0, 0);
}
}
.shake {
animation-name: shake;
}