-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday28.html
More file actions
166 lines (135 loc) · 3.33 KB
/
day28.html
File metadata and controls
166 lines (135 loc) · 3.33 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DAY 28 | CSS CHALLENGE</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
display: grid;
place-items: center;
min-height: 100vh;
}
.frame {
width: 400px;
height: 400px;
border-radius: 1rem;
box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
background: #4C4BA2;
}
.dots {
padding-top: 28px;
padding-left: 194px;
}
.dots .dot {
width: 12px;
height: 12px;
background: #fff;
border-radius: 50%;
margin: 5px 0;
}
.dot-1 {
animation: dot 1016.9491525424ms ease-in-out infinite;
}
.dot-2 {
animation: dot 1034.4827586207ms ease-in-out infinite;
}
.dot-3 {
animation: dot 1052.6315789474ms ease-in-out infinite;
}
.dot-4 {
animation: dot 1071.4285714286ms ease-in-out infinite;
}
.dot-5 {
animation: dot 1090.9090909091ms ease-in-out infinite;
}
.dot-6 {
animation: dot 1111.1111111111ms ease-in-out infinite;
}
.dot-7 {
animation: dot 1132.0754716981ms ease-in-out infinite;
}
.dot-8 {
animation: dot 1153.8461538462ms ease-in-out infinite;
}
.dot-9 {
animation: dot 1176.4705882353ms ease-in-out infinite;
}
.dot-10 {
animation: dot 1200ms ease-in-out infinite;
}
.dot-11 {
animation: dot 1224.4897959184ms ease-in-out infinite;
}
.dot-12 {
animation: dot 1250ms ease-in-out infinite;
}
.dot-13 {
animation: dot 1276.5957446809ms ease-in-out infinite;
}
.dot-14 {
animation: dot 1304.347826087ms ease-in-out infinite;
}
.dot-15 {
animation: dot 1333.3333333333ms ease-in-out infinite;
}
.dot-16 {
animation: dot 1363.6363636364ms ease-in-out infinite;
}
.dot-17 {
animation: dot 1395.3488372093ms ease-in-out infinite;
}
.dot-18 {
animation: dot 1428.5714285714ms ease-in-out infinite;
}
.dot-19 {
animation: dot 1463.4146341463ms ease-in-out infinite;
}
.dot-20 {
animation: dot 1500ms ease-in-out infinite;
}
@keyframes dot {
0%,
100% {
transform: translate3d(50px, 0, 0);
}
50% {
transform: translate3d(-50px, 0, 0);
}
}
</style>
</head>
<body>
<main>
<div class="frame">
<div class="dots">
<div class="dot dot-1"></div>
<div class="dot dot-2"></div>
<div class="dot dot-3"></div>
<div class="dot dot-4"></div>
<div class="dot dot-5"></div>
<div class="dot dot-6"></div>
<div class="dot dot-7"></div>
<div class="dot dot-8"></div>
<div class="dot dot-9"></div>
<div class="dot dot-10"></div>
<div class="dot dot-11"></div>
<div class="dot dot-12"></div>
<div class="dot dot-13"></div>
<div class="dot dot-14"></div>
<div class="dot dot-15"></div>
<div class="dot dot-16"></div>
<div class="dot dot-17"></div>
<div class="dot dot-18"></div>
<div class="dot dot-19"></div>
<div class="dot dot-20"></div>
</div>
</div>
</main>
</body>
</html>