mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 05:01:23 +01:00
87 lines
1 KiB
SCSS
87 lines
1 KiB
SCSS
@if $use-bounceOut == true {
|
|
|
|
@-webkit-keyframes bounceOut {
|
|
0% {
|
|
-webkit-transform: scale(1);
|
|
}
|
|
|
|
25% {
|
|
-webkit-transform: scale(0.95);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
-webkit-transform: scale(1.1);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-webkit-transform: scale(0.3);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes bounceOut {
|
|
0% {
|
|
-moz-transform: scale(1);
|
|
}
|
|
|
|
25% {
|
|
-moz-transform: scale(0.95);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
-moz-transform: scale(1.1);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-moz-transform: scale(0.3);
|
|
}
|
|
}
|
|
|
|
@-o-keyframes bounceOut {
|
|
0% {
|
|
-o-transform: scale(1);
|
|
}
|
|
|
|
25% {
|
|
-o-transform: scale(0.95);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
-o-transform: scale(1.1);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
-o-transform: scale(0.3);
|
|
}
|
|
}
|
|
|
|
@keyframes bounceOut {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
|
|
25% {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: scale(0.3);
|
|
}
|
|
}
|
|
|
|
.bounceOut {
|
|
@include animate-prefixer(animation-name, bounceOut);
|
|
}
|
|
|
|
}
|