datamad2017/_sass/vendor/animations/lightspeed/_lightSpeedOut.scss

28 lines
911 B
SCSS
Raw Permalink Normal View History

@if $use-lightSpeedOut == true {
@-webkit-keyframes lightSpeedOut {
0% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; }
100% { -webkit-transform: translateX(100%) skewX(-$base-degrees); opacity: 0; }
}
@-moz-keyframes lightSpeedOut {
0% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; }
100% { -moz-transform: translateX(100%) skewX(-$base-degrees); opacity: 0; }
}
@-o-keyframes lightSpeedOut {
0% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; }
100% { -o-transform: translateX(100%) skewX(-$base-degrees); opacity: 0; }
}
@keyframes lightSpeedOut {
0% { transform: translateX(0%) skewX(0deg); opacity: 1; }
100% { transform: translateX(100%) skewX(-$base-degrees); opacity: 0; }
}
.lightSpeedOut {
@include animate-prefixer(animation-name, lightSpeedOut);
@include animate-prefixer(animation-timing-function, $base-timing-function-in);
}
}