global.css
.shake {
animation: shake 0.5s ease-in-out both;
}
@keyframes shake {
0% {
transform: translateX(0);
}
25% {
transform: translateX(-10px);
}
50% {
transform: translateX(10px);
}
75% {
transform: translateX(-10px);
}
100% {
transform: translateX(0);
}
} Based on @Ibelick
Designed with ♥ by @AdrianGerman