-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_clock.css
98 lines (97 loc) · 1.51 KB
/
style_clock.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
89
90
91
92
93
94
95
96
97
98
.bodycontainer
{
background-color: black;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
z-index: -5;
}
body
{
background-color: black;
}
.container
{
display: flex;
justify-content: center;
align-items: center;
width: 700px;
height: 200px;
border-radius: 20px;
position: relative;
background:radial-gradient(white,rgb(1, 0, 1,0.4),rgb(78, 78, 67,0.4), rgb(213, 209, 203,0.4));
z-index: 2;
}
.clock
{
position: relative;
width: 95%;
height: 90%;
background-color: black;
color: white;
border-radius: 20px;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.text
{
display: inline-block;
font-size: 50px;
font-family:'Trebuchet MS', sans-serif;
}
#hrs::after
{
content: "HOURS";
font-size: 16px;
position: absolute;
bottom: 25%;
left: 85px;
}
#mins::after
{
content: "MINS";
font-size: 16px;
position: absolute;
bottom: 25%;
left: 315px;
}
#secs::after
{
content: "SECS";
font-size: 16px;
position: absolute;
bottom: 25%;
left: 545px;
}
#date
{
position: absolute;
left: 10px;
top: 10px;
font-size: 20px;
}
@keyframes neon {
0%
{
background-color: white;
}
25%
{
background-color: green;
}
50%
{
background-color: blue;
}
75%
{
background-color: yellow;
}
100%
{
background-color: red;
}
}