2015-03-03 18:05:35 +00:00
|
|
|
/* ==========================================================================
|
|
|
|
Animations
|
|
|
|
========================================================================== */
|
2014-08-08 19:52:28 +00:00
|
|
|
|
2015-03-03 18:05:35 +00:00
|
|
|
/* add .animated class to elements you wish to animate
|
|
|
|
* along with the type of animation (eg: <div class="animated fadeIn"></div>)
|
|
|
|
*/
|
2014-08-08 19:52:28 +00:00
|
|
|
|
2013-07-30 13:53:12 +00:00
|
|
|
.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s;}@-webkit-keyframes fadeIn {
|
|
|
|
0% {opacity: 0;} 100% {opacity: 1;}
|
|
|
|
}
|
|
|
|
|
2015-03-03 18:05:35 +00:00
|
|
|
/*
|
|
|
|
Fade-in animation .fadeIn
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
@-webkit-keyframes fadeIn {
|
|
|
|
0% {opacity: 0;}
|
|
|
|
100% {opacity: 1;}
|
|
|
|
}
|
2013-07-30 13:53:12 +00:00
|
|
|
@-moz-keyframes fadeIn {
|
2015-03-03 18:05:35 +00:00
|
|
|
0% {opacity: 0;}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {opacity: 1;}
|
|
|
|
}
|
|
|
|
@-o-keyframes fadeIn {
|
2015-03-03 18:05:35 +00:00
|
|
|
0% {opacity: 0;}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {opacity: 1;}
|
|
|
|
}
|
|
|
|
@keyframes fadeIn {
|
2015-03-03 18:05:35 +00:00
|
|
|
0% {opacity: 0;}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {opacity: 1;}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeIn {
|
|
|
|
-webkit-animation-name: fadeIn;
|
|
|
|
-moz-animation-name: fadeIn;
|
|
|
|
-o-animation-name: fadeIn;
|
|
|
|
animation-name: fadeIn;
|
|
|
|
}
|
2015-03-03 18:05:35 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Fade-in down animation .fadeInDown
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-07-30 13:53:12 +00:00
|
|
|
@-webkit-keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: translateY(-20px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transform: translateY(-20px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-o-transform: translateY(-20px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-o-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-20px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeInDown {
|
|
|
|
-webkit-animation-name: fadeInDown;
|
|
|
|
-moz-animation-name: fadeInDown;
|
|
|
|
-o-animation-name: fadeInDown;
|
|
|
|
animation-name: fadeInDown;
|
|
|
|
}
|
2015-03-03 18:05:35 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Fade-in down big animation .fadeInDownBig
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-07-30 13:53:12 +00:00
|
|
|
@-webkit-keyframes fadeInDownBig {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes fadeInDownBig {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes fadeInDownBig {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-o-transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-o-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes fadeInDownBig {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeInDownBig {
|
|
|
|
-webkit-animation-name: fadeInDownBig;
|
|
|
|
-moz-animation-name: fadeInDownBig;
|
|
|
|
-o-animation-name: fadeInDownBig;
|
|
|
|
animation-name: fadeInDownBig;
|
|
|
|
}
|
2015-03-03 18:05:35 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Bounce-in animation .bounceIn
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-07-30 13:53:12 +00:00
|
|
|
@-webkit-keyframes bounceIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: scale(.3);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: scale(1.05);
|
|
|
|
}
|
|
|
|
70% {
|
|
|
|
-webkit-transform: scale(.9);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes bounceIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transform: scale(.3);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transform: scale(1.05);
|
|
|
|
}
|
|
|
|
70% {
|
|
|
|
-moz-transform: scale(.9);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-moz-transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes bounceIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-o-transform: scale(.3);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
-o-transform: scale(1.05);
|
|
|
|
}
|
|
|
|
70% {
|
|
|
|
-o-transform: scale(.9);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-o-transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes bounceIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(.3);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1.05);
|
|
|
|
}
|
|
|
|
70% {
|
|
|
|
transform: scale(.9);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bounceIn {
|
|
|
|
-webkit-animation-name: bounceIn;
|
|
|
|
-moz-animation-name: bounceIn;
|
|
|
|
-o-animation-name: bounceIn;
|
|
|
|
animation-name: bounceIn;
|
|
|
|
}
|
2015-03-03 18:05:35 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Bounce-in down animation .bounceInDown
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-07-30 13:53:12 +00:00
|
|
|
@-webkit-keyframes bounceInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: translateY(30px);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
-webkit-transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes bounceInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transform: translateY(30px);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
-moz-transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-moz-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes bounceInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-o-transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
-o-transform: translateY(30px);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
-o-transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-o-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes bounceInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-2000px);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(30px);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bounceInDown {
|
|
|
|
-webkit-animation-name: bounceInDown;
|
|
|
|
-moz-animation-name: bounceInDown;
|
|
|
|
-o-animation-name: bounceInDown;
|
|
|
|
animation-name: bounceInDown;
|
|
|
|
}
|
|
|
|
|
2015-03-03 18:05:35 +00:00
|
|
|
/*
|
|
|
|
Drop animation .drop
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-07-30 13:53:12 +00:00
|
|
|
@-webkit-keyframes drop {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: translateY(-500px);
|
2015-03-03 18:05:35 +00:00
|
|
|
}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {
|
|
|
|
-webkit-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes drop {
|
|
|
|
0% {
|
|
|
|
-moz-transform: translateY(-500px);
|
2015-03-03 18:05:35 +00:00
|
|
|
}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {
|
|
|
|
-moz-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes drop {
|
|
|
|
0% {
|
|
|
|
-o-transform: translateY(-500px);
|
2015-03-03 18:05:35 +00:00
|
|
|
}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {
|
|
|
|
-o-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes drop {
|
|
|
|
0% {
|
|
|
|
transform: translateY(-500px);
|
2015-03-03 18:05:35 +00:00
|
|
|
}
|
2013-07-30 13:53:12 +00:00
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.drop {
|
|
|
|
-webkit-animation-name: drop;
|
|
|
|
-moz-animation-name: drop;
|
|
|
|
-o-animation-name: drop;
|
|
|
|
animation-name: drop;
|
2015-03-03 18:05:35 +00:00
|
|
|
}
|