-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_counter.css
More file actions
64 lines (55 loc) · 984 Bytes
/
index_counter.css
File metadata and controls
64 lines (55 loc) · 984 Bytes
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
* {
margin: 0;
padding: 0;
}
body {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
box-shadow: -30px 20px 10px black;
}
#parent_div {
height: 350px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: gray;
border-radius: 50%;
}
.child_div {
display: flex;
justify-content: center;
align-items: center;
height: 300px;
width: 300px;
border-radius: 50%;
box-shadow: 8px 8px 12px #112;
animation: animate linear infinite 8s;
}
.child_div p {
margin: 0;
font: 50px bold;
}
@keyframes animate {
0% {
background-color: red;
}
25% {
background-color: yellow;
}
50% {
background-color: blue;
}
50% {
background-color: orange;
}
75% {
background-color: yellowgreen;
}
100% {
background-color: red;
}
};