-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (77 loc) · 1.33 KB
/
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
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
* {
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
box-sizing: border-box;
}
.hero {
width: 100%;
min-height: 100vh;
background: linear-gradient(45deg, #08001f, #30197d);
color: #fff;
position: relative;
}
.container {
width: 800px;
height: 180px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* background: red; */
}
.clock {
width: 100%;
height: 100%;
background: rgba(235, 0, 255, 0.11);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(40px);
}
.container::before{
content: ' ';
width: 180px;
height: 180px;
background: #f41b75;
border-radius: 5px;
position: absolute;
left: -50px;
top: -50px;
z-index: -1;
}
.container::after{
content: ' ';
width: 180px;
height: 180px;
background: #419aff;
border-radius: 50%;
position: absolute;
right: -30px;
bottom: -50px;
z-index: -1;
}
.clock span{
font-size: 80px;
width: 110px;
display: inline-block;
text-align: center;
position: relative;
}
.clock span::after{
font-size: 16px;
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
}
#hrs::after{
content: 'HOURS';
}
#mints::after{
content: 'MINS';
}
#sec::after{
content: 'SEC';
}