-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (63 loc) · 1.23 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
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
html,body{
display: grid;
height: 100%;
place-items: center;
background-color:black;
background-image: url("121801.jpg");
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
button {
background-color:orangered;
align-items: center;
position: relative;
font: size 34px;
}
.wrapper{
height: 100px;
width: 420px;
position: absolute;
border: 8px double orange;
border-radius: 10px;
cursor: default;
background-color: black;
animation: animate 1.5s linear infinite;
}
.wrapper .display{
position: relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 999;
height: 85px;
width: 450px;
background: transparent;
border-radius: 6px;
text-align: center;
}
.display #time{
line-height: 85px;
color: rgb(0, 0, 0);
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;
}
#center {
margin: 150px auto;
padding: 20px;
}
@keyframes animate {
100%{
filter: hue-rotate(360deg);
}
}