mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-19 02:20:35 +01:00
b3fae9fe00
Since IE10 dropped the animation, transform, and transition prefixes, and no stable release was made with them, we can safely drop the prefixes, too. Cutting a good 20% off the file sizes!
70 lines
No EOL
966 B
CSS
70 lines
No EOL
966 B
CSS
@-webkit-keyframes bounceOutLeft {
|
|
0% {
|
|
-webkit-transform: translateX(0);
|
|
}
|
|
|
|
20% {
|
|
opacity: 1;
|
|
-webkit-transform: translateX(20px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-webkit-transform: translateX(-2000px);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes bounceOutLeft {
|
|
0% {
|
|
-moz-transform: translateX(0);
|
|
}
|
|
|
|
20% {
|
|
opacity: 1;
|
|
-moz-transform: translateX(20px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-moz-transform: translateX(-2000px);
|
|
}
|
|
}
|
|
|
|
@-o-keyframes bounceOutLeft {
|
|
0% {
|
|
-o-transform: translateX(0);
|
|
}
|
|
|
|
20% {
|
|
opacity: 1;
|
|
-o-transform: translateX(20px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-o-transform: translateX(-2000px);
|
|
}
|
|
}
|
|
|
|
@keyframes bounceOutLeft {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
20% {
|
|
opacity: 1;
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateX(-2000px);
|
|
}
|
|
}
|
|
|
|
.bounceOutLeft {
|
|
-webkit-animation-name: bounceOutLeft;
|
|
-moz-animation-name: bounceOutLeft;
|
|
-o-animation-name: bounceOutLeft;
|
|
animation-name: bounceOutLeft;
|
|
} |