-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
61 lines (55 loc) · 1.1 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
* {
box-sizing: inherit;
margin: 0;
padding: 0;
}
body {
text-align:center;
font-family: sans-serif;
padding:20px;
}
#currentNumber {
width: 100px;
height: 100px;
background: #ececec;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin:0 auto 10px;
font-size:40px;
}
#oldNumbers {
margin:10px auto 0;
max-width: 300px;
}
#generateNumber {
border: 0;
padding: 15px 30px;
display: inline-block;
color: #fff;
text-transform: uppercase;
border-radius: 10px;
font-size: 11px;
font-weight: bold;
font-family: Arial;
background: linear-gradient(270deg, #5f2c82, #ee38bf, #ff5858, #49a09d, #1b5ece, #5f2c82, #ee38bf, #ff5858);
background-size: 400% 400%;
animation: rainbowEffect 30s ease infinite;
cursor:pointer;
}
@keyframes rainbowEffect {
0% { background-position: 0% center; }
100% { background-position: 100% center; }
}
#retry {
display:none;
margin: 0 auto;
background: transparent;
border: 0;
text-decoration: underline;
cursor: pointer;
}
#retry.new-game {
display: block;
}