mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
Update animate.css
Added fadeInRightLoop and fadeInLeftLoop.
This commit is contained in:
parent
f59567e4c7
commit
bb0aa8ceed
1 changed files with 139 additions and 1 deletions
140
animate.css
vendored
140
animate.css
vendored
|
@ -1089,6 +1089,75 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||
animation-name: fadeInLeftBig;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInLeftLoop {
|
||||
0%, 10% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-20px);
|
||||
-ms-transform: translateX(-20px);
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
|
||||
20% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
80% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0px);
|
||||
-ms-transform: translateX(0px);
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
90%, 100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(20px);
|
||||
-ms-transform: translateX(20px);
|
||||
transform: translateX(20px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInLeftLoop {
|
||||
0%, 10% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-20px);
|
||||
-ms-transform: translateX(-20px);
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
|
||||
20% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
80% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0px);
|
||||
-ms-transform: translateX(0px);
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
90%, 100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(20px);
|
||||
-ms-transform: translateX(20px);
|
||||
transform: translateX(20px);
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInLeftLoop {
|
||||
-webkit-animation-name: fadeInLeftLoop;
|
||||
animation-name: fadeInLeftLoop;
|
||||
-webkit-animation-duration: 10s;
|
||||
animation-duration: 10s;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInRight {
|
||||
0% {
|
||||
opacity: 0;
|
||||
|
@ -1159,6 +1228,75 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||
animation-name: fadeInRightBig;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInRightLoop {
|
||||
0%, 10% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(20px);
|
||||
-ms-transform: translateX(20px);
|
||||
transform: translateX(20px);
|
||||
}
|
||||
|
||||
20% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
80% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0px);
|
||||
-ms-transform: translateX(0px);
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
90%, 100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-20px);
|
||||
-ms-transform: translateX(-20px);
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInRightLoop {
|
||||
0%, 10% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(20px);
|
||||
-ms-transform: translateX(20px);
|
||||
transform: translateX(20px);
|
||||
}
|
||||
|
||||
20% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
80% {
|
||||
opacity: 1;
|
||||
-webkit-transform: translateX(0px);
|
||||
-ms-transform: translateX(0px);
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
90%, 100% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translateX(-20px);
|
||||
-ms-transform: translateX(-20px);
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
}
|
||||
|
||||
.fadeInRightLoop {
|
||||
-webkit-animation-name: fadeInRightLoop;
|
||||
animation-name: fadeInRightLoop;
|
||||
-webkit-animation-duration: 10s;
|
||||
animation-duration: 10s;
|
||||
-webkit-animation-iteration-count: infinite;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fadeInUp {
|
||||
0% {
|
||||
opacity: 0;
|
||||
|
@ -2741,4 +2879,4 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||
.rollOut {
|
||||
-webkit-animation-name: rollOut;
|
||||
animation-name: rollOut;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue