mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-30 22:41:22 +01:00
27 lines
911 B
SCSS
27 lines
911 B
SCSS
@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);
|
|
}
|
|
}
|