-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (54 loc) · 1.04 KB
/
Copy pathstyle.css
File metadata and controls
59 lines (54 loc) · 1.04 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
*{
margin:0;
padding:0;
font-family: 'Poppins',sans-serif;
box-sizing:border-box;
}
.hero{
width: 100%;
min-height: 100vh;
background: linear-gradient( to top left,#3ed8ff,#a8f5ff);
color:black;
position: relative;
}
.container{
width: 100%;
height:180px;
position: absolute;
top: 50%;
left:50%;
transform: translate(-50%,-50%);
}
.clock{
width: 100%;
height: 100%;
background: linear-gradient(to top left,#ffffff,#ffffff33);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(40px);
}
.clock span{
font-size: 80px;
width: auto;
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';
}
#min::after{
content: 'MINS';
}
#sec::after{
content: 'SEC';
}