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

54 lines
806 B
SCSS

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