-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (75 loc) · 1.39 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
* {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
animation: animate 5s infinite;
}
#number {
user-select: none;
text-align: center;
font-family: sans-serif;
font-size: 250px;
margin: 0;
color: white;
max-height: 100%;
}
button {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
text-align: center;
border: none;
padding: 10px 25px;
border-radius: 100px;
background-color: white;
font-size: 1rem;
cursor: pointer;
transition: .5s;
}
button:hover {
transform: translateX(-50%) translateY(-5px);
}
@keyframes animate {
0% {
background-color: rgb(97, 192, 255);
}
10% {
background-color: rgb(63, 45, 255);
}
20% {
background-color: rgb(38, 0, 255);
}
30% {
background-color: rgb(25, 0, 187);
}
40% {
background-color: rgb(10, 0, 144);
}
50% {
background-color: rgb(17, 0, 65);
}
60% {
background-color: rgb(4, 0, 54);
}
70% {
background-color: rgb(17, 0, 65);
}
80% {
background-color: rgb(10, 0, 144);
}
90% {
background-color: rgb(25, 0, 187);
}
100% {
background-color: rgb(63, 45, 255);
}
}