-
Notifications
You must be signed in to change notification settings - Fork 0
/
rotate.html
65 lines (63 loc) · 1.82 KB
/
rotate.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rotate GIF</title>
<style>
* {
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
}
body {
background-color: #0d161f;
}
#loader-container {
height: 200px;
width: 200px;
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
/* background-color: #fff; */
}
.loader-div {
width: calc(100% - 16px);
height: calc(100% - 16px);
border: 8px solid #0d161f;
border-top: 8px solid #09f;
border-left: 8px solid #09f;
border-radius: 50%;
animation: rotate 5s linear infinite;
}
@keyframes rotate {
100% {transform: rotate(360deg);}
}
</style>
</head>
<body>
<div id="loader-container">
<div class="loader-div">
<div class="loader-div">
<div class="loader-div">
<div class="loader-div">
<div class="loader-div">
<div class="loader-div">
<div class="loader-div">
<div class="loader-div"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>