-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (61 loc) · 1.29 KB
/
style.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
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
html, body {
display: grid;
height: 100%;
place-items: center;
background: #000;
}
.wrapper{
height: 100px;
width: 360px;
cursor: default;
background: linear-gradient(135deg, #14ffe9 , #ffeb3b , #ff00e0);
border-radius: 10px;
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;
background: #1b1b1b;
height: 85px;
width: 345px;
border-radius: 6px;
text-align: center;
}
.wrapper .display #time{
line-height: 85px;
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%;
background: inherit;
border-radius: 10px;
}
.wrapper span:first-child {
filter: blur(10px);
}
.wrapper span:last-child {
filter: blur(20px);
}