mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-29 14:11:21 +01:00
53 lines
1.3 KiB
SCSS
53 lines
1.3 KiB
SCSS
|
@if $use-flipOutX == true {
|
||
|
|
||
|
@-webkit-keyframes flipOutX {
|
||
|
0% {
|
||
|
-webkit-transform: perspective($flipper-perspective) rotateX(0deg);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
-webkit-transform: perspective($flipper-perspective) rotateX($flipper-degrees-max);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-moz-keyframes flipOutX {
|
||
|
0% {
|
||
|
-moz-transform: perspective($flipper-perspective) rotateX(0deg);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
-moz-transform: perspective($flipper-perspective) rotateX($flipper-degrees-max);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-o-keyframes flipOutX {
|
||
|
0% {
|
||
|
-o-transform: perspective($flipper-perspective) rotateX(0deg);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
-o-transform: perspective($flipper-perspective) rotateX($flipper-degrees-max);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@keyframes flipOutX {
|
||
|
0% {
|
||
|
transform: perspective($flipper-perspective) rotateX(0deg);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
transform: perspective($flipper-perspective) rotateX($flipper-degrees-max);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.flipOutX {
|
||
|
@include animate-prefixer(animation-name, flipOutX);
|
||
|
@include animate-prefixer(backface-visibility, visible !important);
|
||
|
}
|
||
|
|
||
|
}
|