mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +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!
38 lines
No EOL
1.2 KiB
CSS
38 lines
No EOL
1.2 KiB
CSS
@-webkit-keyframes tada {
|
|
0% {-webkit-transform: scale(1);}
|
|
10%, 20% {-webkit-transform: scale(0.9) rotate(-3deg);}
|
|
30%, 50%, 70%, 90% {-webkit-transform: scale(1.1) rotate(3deg);}
|
|
40%, 60%, 80% {-webkit-transform: scale(1.1) rotate(-3deg);}
|
|
100% {-webkit-transform: scale(1) rotate(0);}
|
|
}
|
|
|
|
@-moz-keyframes tada {
|
|
0% {-moz-transform: scale(1);}
|
|
10%, 20% {-moz-transform: scale(0.9) rotate(-3deg);}
|
|
30%, 50%, 70%, 90% {-moz-transform: scale(1.1) rotate(3deg);}
|
|
40%, 60%, 80% {-moz-transform: scale(1.1) rotate(-3deg);}
|
|
100% {-moz-transform: scale(1) rotate(0);}
|
|
}
|
|
|
|
@-o-keyframes tada {
|
|
0% {-o-transform: scale(1);}
|
|
10%, 20% {-o-transform: scale(0.9) rotate(-3deg);}
|
|
30%, 50%, 70%, 90% {-o-transform: scale(1.1) rotate(3deg);}
|
|
40%, 60%, 80% {-o-transform: scale(1.1) rotate(-3deg);}
|
|
100% {-o-transform: scale(1) rotate(0);}
|
|
}
|
|
|
|
@keyframes tada {
|
|
0% {transform: scale(1);}
|
|
10%, 20% {transform: scale(0.9) rotate(-3deg);}
|
|
30%, 50%, 70%, 90% {transform: scale(1.1) rotate(3deg);}
|
|
40%, 60%, 80% {transform: scale(1.1) rotate(-3deg);}
|
|
100% {transform: scale(1) rotate(0);}
|
|
}
|
|
|
|
.tada {
|
|
-webkit-animation-name: tada;
|
|
-moz-animation-name: tada;
|
|
-o-animation-name: tada;
|
|
animation-name: tada;
|
|
} |