-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
71 lines (59 loc) · 1.05 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
html,
body {
margin: 0;
padding: 0;
background-color: #151515;
color: #eee;
}
body {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: block;
}
button {
display: inline-block;
padding: 10px 15px;
margin: 5px;
border-radius: 5px;
background-color: #333;
cursor: pointer;
font-family: 'Courier New', Courier, monospace;
font-size: 1.2em;
color: #ddd;
border: none;
transition: all 0.2s ease-in-out;
}
button:hover {
background-color: #444;
}
button.loading {
cursor: default;
background-color: #ddd;
color: black;
}
button.loading::after {
content: '';
/* animation: spin 2s linear infinite; */
animation: changeLetter 2s linear infinite alternate;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes changeLetter {
0% {
content: ' 🤨';
}
50% {
content: ' 🤯';
}
100% {
content: ' 🤔';
}
}