Posts o[css3] Loading...
Post
Cancel

o[css3] Loading...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<style>
#loader-wrapper{position: fixed; width: 100%; height: 100%; background: #fff; z-index: 10;}
.bubbles{text-align: center; position: absolute; left: 0; width: 100%; top: 50%; margin-top: -30px;}
.bubbles .title{color: #a1a1a1; font-size: 25px; line-height: 25px; margin-bottom: 50px; font-weight: 500;}
.bubbles span {display: inline-block; vertical-align: middle; width: 15px; height: 15px; background: #03b4ea; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; animation: bubbly .9s infinite alternate;}
#bubble2 {animation-delay: .27s;}
#bubble3 {animation-delay: .54s;}

@-webkit-keyframes bubbly {
  0% {
    width: 15px;
    height: 15px;
    opacity: 1;
    -webkit-transform: translateY(0);
  }
  100% {
    width: 50px;
    height: 50px;
    opacity: 0.1;
    -webkit-transform: translateY(-32px);
  }
}
@keyframes bubbly {
  0% {
    width: 15px;
    height: 15px;
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    width: 50px;
    height: 50px;
    opacity: 0.1;
    transform: translateY(-32px);
  }
}
</style>

<div id="loader-wrapper">
        <div class="bubbles">
            <div class="title">loading</div>
            <span></span>
            <span id="bubble2"></span>
            <span id="bubble3"></span>
        </div>
</div>

origin - http://www.pipiscrew.com/?p=2112 css3-loading

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags