Ajax Loader
×
HTML
  <div class="icon">
1
  <div class="icon">
2
  </div>
 
CSS
.icon,
1
.icon,
2
.icon::before,
3
.icon::after {
4
  left: 50%;
5
  top: 22%;
6
  margin-left: -20px;
7
  margin-top: -9px;
8
  background: #02AEFF;
9
  position: absolute;
10
  width: 40px;
11
  height: 40px;
12
  border-radius: 50%;
13
}
14
.icon::before {
15
  content: "";
16
  animation: bounce 1.5s infinite;
17
}
18
.icon::after {
19
  content: "";
20
  animation: bounce 1.5s -0.4s infinite;
21
}
22
 
23
@keyframes bounce {
24
  0% {
25
    transform: scale(0.8);
26
    -webkit-transform: scale(0.8);
27
    opacity: 1;
28
  }
29
  100% {
30
    transform: scale(2);
31
    -webkit-transform: scale(2);
32
    opacity: 0;
33
  }
34
}
35
 
36
@-webkit-keyframes bounce {
37
  0% {
38
    transform: scale(0.8);
39
    -webkit-transform: scale(0.8);
40
    opacity: 1;
41
  }
42
  100% {
43
    transform: scale(2);
44
    -webkit-transform: scale2);
45
    opacity: 0;
46
  }
47
}
48
    
 

Active ping

CSSDeck G+