-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (75 loc) · 1.32 KB
/
style.css
File metadata and controls
78 lines (75 loc) · 1.32 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.hero {
min-height: 100vh;
width: 100%;
background: linear-gradient(45deg, #08001f , #30197d);
position: relative;
color: #fff;
}
.container {
width: 800px;
height: 180px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.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 {
width: 100%;
height: 100%;
background: rgba(255, 0, 255, 0.11);
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
backdrop-filter: blur(40px);
}
.clock span{
font-size: 50px;
text-align: center;
width: 110px;
position: relative;
display: inline-block;
}
.clock span::after{
font-size: 16px;
position: absolute;
bottom: -5px;
left: 50%;
transform: translate(-50%);
}
#hrs::after{
content: "hours";
}
#min::after{
content: "hours";
}
#s::after{
content: "hours";
}