Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (90 loc) · 1.65 KB
/
Copy pathstyle.css
File metadata and controls
90 lines (90 loc) · 1.65 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
79
80
81
82
83
84
85
86
87
88
89
90
*{
margin : 0;
padding: 0;
font-family: Sans-Serif,"Poppins";
box-sizing: border-box;
}
body{
height: 100%;
}
.hero{
width: 100%;
min-height: 100vh;
background: linear-gradient(45deg, #08001f, #30197d );
background-size: cover;
color: #fff;
position: relative;
}
.container{
width: 800px;
height: 180px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.clock{
width: 100%;
position: absolute;
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: 190px;
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%; /*This will be a circle*/
position: absolute;
right: -40px;
bottom: -50px;
z-index: -1;
}
.clock span{
font-size: 82px;
width: 110px;
display: inline-block;
text-align: center;
position: relative;
}
.clock span::after{
content: "";
font-size: 12px;
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
}
#hours::after{
content: "HOURS";
}
#min::after{
content: "MINUTES";
}
#sec::after{
content: "SECONDS";
}
.hero #heading{
text-align: center;
padding: 10px;
text-decoration: underline #9d2727;
font-size: 50px;
font-family: "Roboto Light";
color: #419aff;
}