1
0
Fork 0
mirror of https://github.com/medialab-prado/datamad2017.git synced 2025-01-18 23:10:20 +01:00
datamad2017/_sass/vendor/animations/rotate-exit/_rotateOutUpLeft.scss

63 lines
1.1 KiB
SCSS

@if $use-rotateOutDownRight == true {
@-webkit-keyframes rotateOutUpLeft {
0% {
-webkit-transform-origin: left bottom;
-webkit-transform: rotate(0);
opacity: 1;
}
100% {
-webkit-transform-origin: left bottom;
-webkit-transform: rotate(-$rotate-degrees);
opacity: 0;
}
}
@-moz-keyframes rotateOutUpLeft {
0% {
-moz-transform-origin: left bottom;
-moz-transform: rotate(0);
opacity: 1;
}
100% {
-moz-transform-origin: left bottom;
-moz-transform: rotate(-$rotate-degrees);
opacity: 0;
}
}
@-o-keyframes rotateOutUpLeft {
0% {
-o-transform-origin: left bottom;
-o-transform: rotate(0);
opacity: 1;
}
100% {
-o-transform-origin: left bottom;
-o-transform: rotate(-$rotate-degrees);
opacity: 0;
}
}
@keyframes rotateOutUpLeft {
0% {
transform-origin: left bottom;
transform: rotate(0);
opacity: 1;
}
100% {
-transform-origin: left bottom;
-transform: rotate(-$rotate-degrees);
opacity: 0;
}
}
.rotateOutUpLeft {
@include animate-prefixer(animation-name, rotateOutUpLeft);
}
}