mirror of
https://github.com/animate-css/animate.css.git
synced 2024-10-06 17:53:54 +02: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!
56 lines
932 B
CSS
56 lines
932 B
CSS
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
|
|
|
@-webkit-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-webkit-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-webkit-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-moz-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-moz-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@-o-keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
-o-transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-o-transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
@keyframes rollOut {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translateX(0px) rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateX(100%) rotate(120deg);
|
|
}
|
|
}
|
|
|
|
.rollOut {
|
|
-webkit-animation-name: rollOut;
|
|
-moz-animation-name: rollOut;
|
|
-o-animation-name: rollOut;
|
|
animation-name: rollOut;
|
|
} |