-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDay15_ArcheryTarget.css
79 lines (71 loc) · 1.39 KB
/
Day15_ArcheryTarget.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
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
*/
HTML:
<!doctype html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="rings">
<div class="ring ring-1">
<div class="ring ring-2">
<div class="ring ring-3">
<div class="ring-bullseye"></div>
</div>
</div>
</div>
</div>
</body>
</html>
/*
:root {
--black: #282828;
--blue: #2892f9;
--red: #fb2f27;
--yellow: #fdfe29;
}
.rings {
display: flex;
justify-content: center;
margin-top: 80px;
}
.ring-1 {
display: flex;
justify-content: center;
/* position: inherit; */
background: var(--black);
width: 450px;
height: 450px;
border-radius: 400px;
}
.ring-2 {
display: flex;
justify-content: center;
position: inherit;
margin-top: 50px;
background: var(--blue);
width: 350px;
height: 350px;
border-radius: 300px;
}
.ring-3 {
background: var(--red);
display: flex;
justify-content: center;
position: inherit;
margin-top: 50px;
width: 250px;
height: 250px;
border-radius: 300px;
}
.ring-bullseye {
background: var(--yellow);
display: flex;
justify-content: center;
position: inherit;
margin-top: 70px;
width: 100px;
height: 100px;
border-radius: 300px;
}