-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
96 lines (87 loc) · 1.53 KB
/
main.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
min-height: 100vh;
background: rgb(227, 255, 182);
background: linear-gradient(
90deg,
rgba(227, 255, 182, 1) 0%,
rgba(242, 252, 235, 1) 19%,
rgba(191, 221, 217, 1) 52%,
rgba(224, 196, 255, 1) 82%,
rgba(209, 134, 255, 1) 100%
);
}
.clock {
width: 15rem;
height: 15rem;
background: rgba(255, 255, 255, 0.01);
border-radius: 50%;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(40px);
-webkit-backdrop-filter: blur(40px);
margin: auto;
background-image: url("./src/images/clock.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
.clock::before {
content: "";
position: absolute;
border-radius: 50%;
width: 1rem;
height: 1rem;
background-color: rgb(116, 116, 116);
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
}
.hour,
.min,
.sec {
display: flex;
justify-content: center;
position: absolute;
}
.hour {
width: 7.5rem;
height: 7.5rem;
}
.min {
width: 7.5rem;
height: 8rem;
}
.sec {
width: 7.5rem;
height: 10rem;
}
.hp {
width: 5px;
height: 60px;
background-color: #ffffff;
z-index: 80;
border-radius: 10px;
}
.mp {
width: 4px;
height: 80px;
background-color: #f3eeff;
z-index: 90;
border-radius: 10px;
}
.sp {
width: 2px;
height: 100px;
background-color: #b3a9ca;
z-index: 100;
border-radius: 10px;
}