mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-28 13:41:22 +01:00
87 lines
1 KiB
SCSS
87 lines
1 KiB
SCSS
@if $use-bounceIn == true {
|
|
|
|
@-webkit-keyframes bounceIn {
|
|
0% {
|
|
opacity: 0;
|
|
-webkit-transform: scale(0.3);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
-webkit-transform: scale(1.05);
|
|
}
|
|
|
|
70% {
|
|
-webkit-transform: scale(0.9);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes bounceIn {
|
|
0% {
|
|
opacity: 0;
|
|
-moz-transform: scale(0.3);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
-moz-transform: scale(1.05);
|
|
}
|
|
|
|
70% {
|
|
-moz-transform: scale(0.9);
|
|
}
|
|
|
|
100% {
|
|
-moz-transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@-o-keyframes bounceIn {
|
|
0% {
|
|
opacity: 0;
|
|
-o-transform: scale(0.3);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
-o-transform: scale(1.05);
|
|
}
|
|
|
|
70% {
|
|
-o-transform: scale(0.9);
|
|
}
|
|
|
|
100% {
|
|
-o-transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes bounceIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(0.3);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
70% {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.bounceIn {
|
|
@include animate-prefixer(animation-name, bounceIn);
|
|
}
|
|
|
|
}
|