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!
28 lines
No EOL
863 B
CSS
28 lines
No EOL
863 B
CSS
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
|
|
|
@-webkit-keyframes rollIn {
|
|
0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); }
|
|
100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
@-moz-keyframes rollIn {
|
|
0% { opacity: 0; -moz-transform: translateX(-100%) rotate(-120deg); }
|
|
100% { opacity: 1; -moz-transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
@-o-keyframes rollIn {
|
|
0% { opacity: 0; -o-transform: translateX(-100%) rotate(-120deg); }
|
|
100% { opacity: 1; -o-transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
@keyframes rollIn {
|
|
0% { opacity: 0; transform: translateX(-100%) rotate(-120deg); }
|
|
100% { opacity: 1; transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
.rollIn {
|
|
-webkit-animation-name: rollIn;
|
|
-moz-animation-name: rollIn;
|
|
-o-animation-name: rollIn;
|
|
animation-name: rollIn;
|
|
} |