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!
39 lines
No EOL
1.5 KiB
CSS
39 lines
No EOL
1.5 KiB
CSS
@-webkit-keyframes lightSpeedIn {
|
|
0% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; }
|
|
60% { -webkit-transform: translateX(-20%) skewX(30deg); opacity: 1; }
|
|
80% { -webkit-transform: translateX(0%) skewX(-15deg); opacity: 1; }
|
|
100% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; }
|
|
}
|
|
|
|
@-moz-keyframes lightSpeedIn {
|
|
0% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; }
|
|
60% { -moz-transform: translateX(-20%) skewX(30deg); opacity: 1; }
|
|
80% { -moz-transform: translateX(0%) skewX(-15deg); opacity: 1; }
|
|
100% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; }
|
|
}
|
|
|
|
@-o-keyframes lightSpeedIn {
|
|
0% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; }
|
|
60% { -o-transform: translateX(-20%) skewX(30deg); opacity: 1; }
|
|
80% { -o-transform: translateX(0%) skewX(-15deg); opacity: 1; }
|
|
100% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; }
|
|
}
|
|
|
|
@keyframes lightSpeedIn {
|
|
0% { transform: translateX(100%) skewX(-30deg); opacity: 0; }
|
|
60% { transform: translateX(-20%) skewX(30deg); opacity: 1; }
|
|
80% { transform: translateX(0%) skewX(-15deg); opacity: 1; }
|
|
100% { transform: translateX(0%) skewX(0deg); opacity: 1; }
|
|
}
|
|
|
|
.lightSpeedIn {
|
|
-webkit-animation-name: lightSpeedIn;
|
|
-moz-animation-name: lightSpeedIn;
|
|
-o-animation-name: lightSpeedIn;
|
|
animation-name: lightSpeedIn;
|
|
|
|
-webkit-animation-timing-function: ease-out;
|
|
-moz-animation-timing-function: ease-out;
|
|
-o-animation-timing-function: ease-out;
|
|
animation-timing-function: ease-out;
|
|
} |