datamad2017/_sass/vendor/animations/fade-exit/_fadeOutLeftBig.scss

55 lines
841 B
SCSS

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