forked from Dezenix/frontend-html-css-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
49 lines (49 loc) · 790 Bytes
/
style.css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.loader {
height: 40px;
width: 140px;
}
.dot {
width: 16px;
height: 16px;
position: relative;
top: 12px;
background: #000;
border-radius: 50%;
animation: dot 2.8s infinite;
}
.dots {
margin-top: 12px;
margin-left: 31px;
animation: dots 2.8s infinite;
}
span {
display: block;
float: left;
width: 16px;
height: 16px;
margin-left: 16px;
background: #000;
border-radius: 50%;
}
@keyframes dot {
50% {
transform: translateX(96px);
}
}
@keyframes dots {
50% {
transform: translateX(-31px);
}
}