<div class="twitter-bird-animation"></div>
<div class="loading">
<span class="text">Loading</span>
<span class="blob1 blob"></span>
<span class="blob2 blob"></span>
<span class="blob3 blob"></span>
</div>
@twitter: #1ab7ea;
.twitter-bird-animation {
background-image: url("https://cloud.elalemanyo.de/tmp/twitter-bird-sprite-e0FhFKaXRI.png");
background-size: cover;
display: block;
position: relative;
height: 75px;
width: 75px;
margin: 50px auto 0 auto;
animation: 0.3s fly step-end infinite;
}
.loading {
margin: auto;
width: 100px;
.clearfix;
}
.text {
float: left;
color: @twitter;
font-weight: bold;
}
.blob {
border-radius: 50%;
background-color: @twitter;
display: block;
float: left;
margin: 5px 2px;
position: relative;
top: 6px;
height: 3px;
width: 3px;
animation: loading-blob 1.2s infinite;
animation-timing-function: ease-in-out;
transform: translate3d(0, 0, 0);
}
.blob2 {
animation-delay: 150ms;
}
.blob3 {
animation-delay: 300ms;
}
@keyframes fly {
0% { background-position: 0 0;}
33% { background-position: -250 0;}
66% { background-position: -450px 0;}
}
@keyframes loading-blob {
0% { height: 3px; width: 3px;}
25% { height: 7px; width: 7px;}
50% { height: 5px; width: 5px; }
100% { height: 3px; width: 3px; }
}
.clearfix() {
zoom: 1;
&:before { content: ''; display: block; }
&:after { content: ''; display: table; clear: both;}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.