animate.css/source/bounce.css

29 lines
790 B
CSS
Raw Normal View History

2011-10-14 14:39:11 +02:00
@-webkit-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
2011-10-14 14:39:11 +02:00
40% {-webkit-transform: translateY(-30px);}
60% {-webkit-transform: translateY(-15px);}
}
@-moz-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
2011-10-14 14:39:11 +02:00
40% {-moz-transform: translateY(-30px);}
60% {-moz-transform: translateY(-15px);}
}
2011-10-20 20:01:26 +02:00
@-o-keyframes bounce {
0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
40% {-o-transform: translateY(-30px);}
60% {-o-transform: translateY(-15px);}
}
2011-10-14 14:39:11 +02:00
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
2011-10-14 14:39:11 +02:00
40% {transform: translateY(-30px);}
60% {transform: translateY(-15px);}
}
.bounce {
-webkit-animation-name: bounce;
-moz-animation-name: bounce;
2011-10-20 20:58:52 +02:00
-o-animation-name: bounce;
2011-10-14 14:39:11 +02:00
animation-name: bounce;
}