-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDigitalclockstyle.css
More file actions
64 lines (63 loc) · 1.29 KB
/
Digitalclockstyle.css
File metadata and controls
64 lines (63 loc) · 1.29 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
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
html,body{
display: grid;
height: 100%;
place-items: center;
background: rgb(0, 0, 0);
}
.wrapper{
height: 100px;
width: 360px;
position: relative;
background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);
border-radius: 10px;
cursor: default;
animation: animate 1.5s linear infinite;
}
.wrapper .display,
.wrapper span{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.wrapper .display{
z-index: 999;
height: 85px;
width: 345px;
background: #1b1b1b;
border-radius: 6px;
text-align: center;
}
.display #time{
line-height: 85px;
color: #fff;
font-size: 50px;
font-weight: 600;
letter-spacing: 1px;
background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: animate 1.5s linear infinite;
}
@keyframes animate {
100%{
filter: hue-rotate(360deg);
}
}
.wrapper span{
height: 100%;
width: 100%;
border-radius: 10px;
background: inherit;
}
.wrapper span:first-child{
filter: blur(7px);
}
.wrapper span:last-child{
filter: blur(20px);
}