-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (95 loc) · 1.54 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#game {
width: 400px;
height: 400px;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
position: fixed;
}
#body-header {
background-image: url('Assets/back.jpg');
background-size: 5%;
}
#confetti{
background-image: url('Assets/spin-n-win-logo.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
.pin {
position: absolute;
width: 60px;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
z-index: 2;
}
.wheel {
position: relative;
width: 100%;
height: 100%;
margin-top: 10%;
}
.stand {
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
top: 109%;
width: 30%;
height: 15%;
z-index: -1;
}
.button {
display: absolute;
border-radius: 100px;
width: 80px;
transform: translate(200%, -315%);
cursor: pointer;
}
.button:hover {
box-shadow: 0px 0px 10px 4px #fa513e;
}
.blur {
animation: blur 10s;
}
@keyframes blur {
0% {
filter: blur(0.4px);
}
80% {
filter: blur(0.4px);
}
100% {
filter: blur(0px)
}
}
#info {
position: fixed;
top: 0;
left: 0;
padding: 15px;
pointer-events: none;
font-size: 20px;
font-weight: bold;
font-family: sans-serif;
}
.bounce {
-moz-animation: bounce 2s infinite;
-webkit-animation: bounce 2s infinite;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}