mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 21:21:22 +01:00
52 lines
1.3 KiB
SCSS
52 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);
|
|
}
|
|
|
|
}
|