mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
just like a shake
This commit is contained in:
parent
b98a8d8b6c
commit
13df3213c8
1 changed files with 6 additions and 6 deletions
12
animate.css
vendored
12
animate.css
vendored
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue