-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (58 loc) · 1.34 KB
/
index.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
68
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #262626;
}
.container {
width: 200px;
height: 200px;
position: relative;
}
.container div {
width: 100px;
height: 100px;
position: absolute;
border-radius: 50%;
animation: a 1.5s linear infinite;
filter: drop-shadow(0px 0px 10px red);
}
.container div:nth-child(1) {
top: 10px;
left: 20px;
border-left: 5px solid red;
}
.container div:nth-child(2) {
top: 10px;
right: 20px;
border-top: 5px solid red;
}
.container div:nth-child(3) {
bottom: 45px;
left: 50px;
border-right: 5px solid red;
}
@keyframes a {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="container">
<div></div>
<div></div>
<div></div>
</div>
</body>
</html>