mirror of
https://github.com/animate-css/animate.css.git
synced 2024-09-06 03:21:29 +02:00
37 lines
1.0 KiB
CSS
37 lines
1.0 KiB
CSS
@-webkit-keyframes shake {
|
|
0%, 100% {-webkit-transform: translateX(0);}
|
|
10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
|
|
20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
|
|
}
|
|
|
|
@-moz-keyframes shake {
|
|
0%, 100% {-moz-transform: translateX(0);}
|
|
10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
|
|
20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
|
|
}
|
|
|
|
@-ms-keyframes shake {
|
|
0%, 100% {-ms-transform: translateX(0);}
|
|
10%, 30%, 50%, 70%, 90% {-ms-transform: translateX(-10px);}
|
|
20%, 40%, 60%, 80% {-ms-transform: translateX(10px);}
|
|
}
|
|
|
|
@-o-keyframes shake {
|
|
0%, 100% {-o-transform: translateX(0);}
|
|
10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
|
|
20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
|
|
}
|
|
|
|
@keyframes shake {
|
|
0%, 100% {transform: translateX(0);}
|
|
10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
|
|
20%, 40%, 60%, 80% {transform: translateX(10px);}
|
|
}
|
|
|
|
.shake {
|
|
-webkit-animation-name: shake;
|
|
-moz-animation-name: shake;
|
|
-ms-animation-name: shake;
|
|
-o-animation-name: shake;
|
|
animation-name: shake;
|
|
} |