Ball Elastic Dots Awesome
Ball Clip Rotate Pulse
Ball Fall
Usage
HTML
<div class="la-ball-elastic-dots">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
CSS
/*!
* Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)
* Copyright 2015 Daniel Cardoso <@DanielCardoso>
* Licensed under MIT
*/
.la-ball-elastic-dots,
.la-ball-elastic-dots > div {
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.la-ball-elastic-dots {
display: block;
font-size: 0;
color: #fff;
}
.la-ball-elastic-dots.la-dark {
color: #333;
}
.la-ball-elastic-dots > div {
display: inline-block;
float: none;
background-color: currentColor;
border: 0 solid currentColor;
}
.la-ball-elastic-dots {
width: 120px;
height: 10px;
font-size: 0;
text-align: center;
}
.la-ball-elastic-dots > div {
display: inline-block;
width: 10px;
height: 10px;
white-space: nowrap;
border-radius: 100%;
-webkit-animation: ball-elastic-dots-anim 1s infinite;
-moz-animation: ball-elastic-dots-anim 1s infinite;
-o-animation: ball-elastic-dots-anim 1s infinite;
animation: ball-elastic-dots-anim 1s infinite;
}
.la-ball-elastic-dots.la-sm {
width: 60px;
height: 4px;
}
.la-ball-elastic-dots.la-sm > div {
width: 4px;
height: 4px;
}
.la-ball-elastic-dots.la-2x {
width: 240px;
height: 20px;
}
.la-ball-elastic-dots.la-2x > div {
width: 20px;
height: 20px;
}
.la-ball-elastic-dots.la-3x {
width: 360px;
height: 30px;
}
.la-ball-elastic-dots.la-3x > div {
width: 30px;
height: 30px;
}
/*
* Animation
*/
@-webkit-keyframes ball-elastic-dots-anim {
0%,
100% {
margin: 0;
-webkit-transform: scale(1);
transform: scale(1);
}
50% {
margin: 0 5%;
-webkit-transform: scale(.65);
transform: scale(.65);
}
}
@-moz-keyframes ball-elastic-dots-anim {
0%,
100% {
margin: 0;
-moz-transform: scale(1);
transform: scale(1);
}
50% {
margin: 0 5%;
-moz-transform: scale(.65);
transform: scale(.65);
}
}
@-o-keyframes ball-elastic-dots-anim {
0%,
100% {
margin: 0;
-o-transform: scale(1);
transform: scale(1);
}
50% {
margin: 0 5%;
-o-transform: scale(.65);
transform: scale(.65);
}
}
@keyframes ball-elastic-dots-anim {
0%,
100% {
margin: 0;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
50% {
margin: 0 5%;
-webkit-transform: scale(.65);
-moz-transform: scale(.65);
-o-transform: scale(.65);
transform: scale(.65);
}
}