-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (75 loc) · 1.3 KB
/
style.css
File metadata and controls
75 lines (75 loc) · 1.3 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.hero {
/* background: linear-gradient(45deg, #082aea, #d9eeff); */
background: linear-gradient(45deg, #000000, #0790ff);
width: 100%;
min-height: 100vh;
position: relative;
}
.container {
width: 800px;
height: 180px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 10px;
}
.clock {
width: 100%;
height: 100%;
background-color: rgba(235, 0, 255, 0.19);
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(50px);
border-radius: 10px;
}
.container::before {
content: "";
width: 180px;
height: 180px;
background-color: #ff9800;
border-radius: 5px;
position: absolute;
top: -50px;
left: -50px;
z-index: -1;
}
.container::after {
content: "";
width: 180px;
height: 180px;
background-color: rgb(245, 10, 116);
border-radius: 50%;
position: absolute;
bottom: -50px;
right: -50px;
z-index: -1;
}
.clock span {
font-size: 50px;
color: white;
display: inline-block;
text-align: center;
width: 100px;
}
.clock span::after {
font-size: 16px;
position: absolute;
bottom: 28px;
transform: translatex(-108%);
}
#Hour::after {
content: "HOURS";
}
#Min::after {
content: "MINS";
}
#Sec::after {
content: "SEC";
}