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!
29 lines
No EOL
790 B
CSS
29 lines
No EOL
790 B
CSS
@-webkit-keyframes bounce {
|
|
0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
|
|
40% {-webkit-transform: translateY(-30px);}
|
|
60% {-webkit-transform: translateY(-15px);}
|
|
}
|
|
|
|
@-moz-keyframes bounce {
|
|
0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
|
|
40% {-moz-transform: translateY(-30px);}
|
|
60% {-moz-transform: translateY(-15px);}
|
|
}
|
|
|
|
@-o-keyframes bounce {
|
|
0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
|
|
40% {-o-transform: translateY(-30px);}
|
|
60% {-o-transform: translateY(-15px);}
|
|
}
|
|
@keyframes bounce {
|
|
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
|
|
40% {transform: translateY(-30px);}
|
|
60% {transform: translateY(-15px);}
|
|
}
|
|
|
|
.bounce {
|
|
-webkit-animation-name: bounce;
|
|
-moz-animation-name: bounce;
|
|
-o-animation-name: bounce;
|
|
animation-name: bounce;
|
|
} |