datamad2017/_sass/vendor/animations/fade-enter/_fadeInRight.scss

54 lines
799 B
SCSS

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