-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
53 lines (47 loc) · 994 Bytes
/
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
body {
margin: 0;
padding: 0;
font-family: 'poppins', sans-serif;
}
html,
body {
display: grid;
height: 100vh;
place-items: center;
background: black;
}
.wrapper {
height: 100px;
width: 360px;
cursor: default;
background: linear-gradient(135deg, #14ffe9, #ffeb3b, #ff00e0);
border-radius: 10px;
animation: animate 1.5s linear infinite;
}
.display {
position: absolute;
top: 49%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 999;
background: #1b1b1b;
height: 85px;
width: 345px;
border-radius: 6px;
text-align: center;
}
#clock {
line-height: 85px;
font-size: 45px;
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);
}
}