-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathAwesome Dots.html
46 lines (44 loc) · 1.16 KB
/
Awesome Dots.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
<html>
<head>
<title>Awesome Dots | Loaders</title>
<style>
body{
background-color: rgb(0,200,255);
}
#awesome-dots{
position:relative;
margin: 0 auto;
top: 300px;
width: 100px;
height: 30px;
background: radial-gradient(circle at 15px 10px , #FFFFFF 3px, rgba(0, 0, 0, 0) 4px), radial-gradient(circle at 40px 10px , #FFFFFF 3px, rgba(0, 0, 0, 0) 4px), radial-gradient(circle at 65px 10px , #FFFFFF 3px, rgba(0, 0, 0, 0) 4px), radial-gradient(circle at 90px 10px , #FFFFFF 3px, rgba(0, 0, 0, 0) 4px);
animation: load 3s 400ms linear infinite;
}
@keyframes load{
0% {
opacity: 0;
transform: translateX(-300px);
}
33% {
opacity: 0.8;
transform: translateX(-100px);
}
50%{
opacity: 1;
transform: translateX(0px);
}
66% {
opacity: 0.8;
tranform: translateX(100px);
}
100% {
opacity: 0;
transform: translateX(300px);
}
}
</style>
</head>
<body>
<div id="awesome-dots"></div>
</body>
</html>