-
Notifications
You must be signed in to change notification settings - Fork 105
/
Ripple Effect.html
67 lines (63 loc) · 1.44 KB
/
Ripple Effect.html
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<html>
<head>
<title>Ripple Effect | Loaders</title>
<style>
body{
background-color: #162525;
}
#ripple-loader{
top: 50%;
left: 50%;
position: relative;
margin-top: 20%;
width:100px;
height: 100px;
border-radius: 50%;
}
#ripple-loader:before{
content:'Loading';
position: absolute;
font-family: 'Open Sans', sans-serif;
font-size: 1.3em;
margin: 38% 0% 0% 14%;
color: #FFF;
}
#ripple-loader:after{
content: '';
position: absolute;
width: 100px;
height: 100px;
border: 2px solid #0EC198;
border-radius: 50%;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
-webkit-animation: ripple 1.5s ease-out infinite;
-moz-animation: ripple 1.5s ease-out infinite;
-ms-animation: ripple 1.5s ease-out infinite;
-o-animation: ripple 1.5s ease-out infinite;
animation: ripple 1.5s ease-out infinite;
}
@keyframes ripple{
0%{
width: 100px;
height: 100px;
opacity: 1;
}
96%{
width: 400px;
height: 400px;
opacity: 0;
}
100%{
width: 400px;
height: 400px;
opacity: 0;
}
}
</style>
</head>
<body>
<div id="ripple-loader"></div>
</body>
</html>