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