-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (76 loc) · 1.46 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
78
79
80
81
82
83
84
85
86
87
88
*{
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
box-sizing: border-box;
}
.hero{
width: 100%;
min-height: 100vh;
background: linear-gradient(45deg, #18025d, #9e86ee);
color: white;
position: relative;
}
.container{
width: 800px;
height: 180px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.clock{
width: 100%;
height: 100%;
background: rgba(85, 4, 92, 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: #d75088d8;
border-radius: 5px;
position: absolute;
left: -50px;
top: -50px;
z-index: -1;
}
.container::after{
content: '';
width: 180px;
height: 180px;
background: #4b93e5c3;
border-radius: 5px;
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: 13px;
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
#hrs::after{
content: 'HOURS';
}
#min::after{
content: 'MINS';
}
#sec::after{
content: 'SECS';
}