-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
114 lines (99 loc) · 1.81 KB
/
style.css
File metadata and controls
114 lines (99 loc) · 1.81 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
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
transition: all 0.3s ease-in-out;
color: white;
font-family: 'Nanum Gothic', sans-serif;
}
body {
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #333;
}
main {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
main h1 {
margin-left: 4rem;
}
.circle-cont {
display: flex;
justify-content: center;
align-content: center;
position: relative;
border-radius: 50%;
width: 150px;
height: 150px;
}
.circle-cont h2 {
font-size: 2rem;
}
.circle-cont:nth-child(2) {
margin: 0 5rem;
}
.circle-cont div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.circle-cont div h2 {
font-size: 2rem;
margin-bottom: 0.6rem;
}
.circle-cont div h3 {
font-size: 0.8rem;
}
.circle-cont svg {
display: flex;
justify-content: center;
align-content: center;
transform: rotate(270deg);
}
.circle-cont svg circle {
fill: transparent;
stroke-width: 5px;
transform: translate(5px, 5px);
position: relative;
stroke: var(--color);
}
.circle-cont svg circle:nth-child(1) {
stroke: #111;
}
.circle-cont svg circle:nth-child(2) {
stroke-dasharray: 440;
}
.dots {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-start;
z-index: 1000;
}
.dots::before {
content: '';
position: absolute;
width: 20px;
height: 20px;
background-color: var(--color);
z-index: 1000;
border-radius: 50%;
top: -5px;
box-shadow: 0 0 15px 0 var(--color),
0 0 20px 0 var(--color);
}