1
0
Fork 0
mirror of https://github.com/medialab-prado/datamad2017.git synced 2025-01-21 16:30:20 +01:00
datamad2017/_sass/vendor/animations/fade-exit/_fadeOutLeft.scss

56 lines
804 B
SCSS
Raw Normal View History

@if $use-fadeOutLeft == true {
@-webkit-keyframes fadeOutLeft {
0% {
opacity: 1;
-webkit-transform: translateX(0);
}
100% {
opacity: 0;
-webkit-transform: translateX(-$base-distance * 2);
}
}
@-moz-keyframes fadeOutLeft {
0% {
opacity: 1;
-moz-transform: translateX(0);
}
100% {
opacity: 0;
-moz-transform: translateX(-$base-distance * 2);
}
}
@-o-keyframes fadeOutLeft {
0% {
opacity: 1;
-o-transform: translateX(0);
}
100% {
opacity: 0;
-o-transform: translateX(-$base-distance * 2);
}
}
@keyframes fadeOutLeft {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(-$base-distance * 2);
}
}
.fadeOutLeft {
@include animate-prefixer(animation-name, fadeOutLeft);
}
}