Ajax Loader
HTML
<!-- 
1
<!-- 
2
autor: Marco Barría 
3
https://twitter.com/marco_bf
4
-->
5
 
6
<div class="pajaro">··</div>
 
CSS
html,
1
html,
2
body{
3
  height:100%;
4
}
5
 
6
body{
7
  background: -webkit-linear-gradient(top, hsla(210,70%,80%,1) 0%,hsla(210,50%,100%,1) 100%);
8
  background: -moz-linear-gradient(top, hsla(210,70%,80%,1) 0%,hsla(210,50%,100%,1) 100%);
9
  font-size:100%;
10
}
11
 
12
/*------------------------------------------------------ body of the bird
13
*/
14
 
15
.pajaro{
16
  background:black;
17
  border-radius: 50% 50% 20% 20%;
18
  color:white;
19
  line-height:20px;
20
  letter-spacing: 2px;
21
  font-size:0.8em;
22
  text-align:center;
23
  position:absolute;
24
  top:50%; left:50%;
25
  margin-top:-20px; margin-left:-10px;
26
  width:15px; height:15px;
27
  animation:planeo 0.8s linear infinite;
28
  z-index:999;
29
}
30
 
31
.pajaro:after,
32
.pajaro:before{
33
  content:"";
34
  position:absolute;
35
  top:50%; left:50%;
36
}
37
 
38
/*------------------------------------------------------ bird wings
39
*/
40
 
41
.pajaro:after{
42
  border-radius: 100% 100% 0 0;
43
  box-shadow: inset 0px 5px 0 black;
44
  width:100px; height:100px;
45
  margin-top:-7px; margin-left:-50px;
46
  transform-origin: 100% 0%;
47
  animation:alas 3s linear infinite;
48
}
49
 
50
/*------------------------------------------------------ bird beak
51
*/
52
 
53
.pajaro:before{
54
  background:#FFC37F;
55
  border-radius: 100% 0% 20% 0%;
56
  margin-top:3px; margin-left:-4px;
57
  width:6px; height:6px;
58
  transform:rotateZ(45deg);
59
}
60
 
61
/*------------------------------------------------------ wings animation
62
*/
63
 
64
@keyframes alas {
65
  50%{
66
    transform:rotateX(-1440deg);
67
  }
68
}
69
 
70
/*------------------------------------------------------ bird animation
71
*/
72
 
73
@keyframes planeo {
74
  40%{
75
    transform:rotateZ(2deg) translateX(2px) translateY(10px) translateZ(0);
76
    line-height:16px;
77
    font-size:0.6em;
78
  }
79
  80%{
80
    transform:rotateZ(-2deg) translateX(5px) translateY(8px) translateZ(0);
81
  }
82
}
 

flying bird - Single element - css

CSSDeck G+