just like a shake

This commit is contained in:
frankLife 2013-11-28 17:59:22 +08:00
parent b98a8d8b6c
commit 13df3213c8

12
animate.css vendored
View file

@ -139,18 +139,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
@-webkit-keyframes shake {
0%, 100% {
-webkit-transform: translateX(0);
transform: translateX(0);
-webkit-transform: translate(0,0);
transform: translateX(0,0);
}
10%, 30%, 50%, 70%, 90% {
-webkit-transform: translateX(-10px);
transform: translateX(-10px);
-webkit-transform: translate(-10px,10px);
transform: translate(-10px,10px);
}
20%, 40%, 60%, 80% {
-webkit-transform: translateX(10px);
transform: translateX(10px);
-webkit-transform: translate(10px,-10px);
transform: translate(10px,-10px);
}
}