-
Notifications
You must be signed in to change notification settings - Fork 9
/
lottery.css
92 lines (77 loc) · 1.4 KB
/
lottery.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
.slotMachine-box {
min-height: calc(100% - 341px);
width: 848px;
margin: 0 auto;
padding-top: 40px;
}
.slotMachine {
background: url(https://app.cngal.org/_content/CnGalWebSite.Shared/images/raffleBg.png) no-repeat;
width: 692px;
height: 313px;
position: relative;
margin-top: 50px;
}
@media (min-height: 1000px) {
.slotMachine {
margin-top: 100px;
}
}
.slotMachine-btn {
position: absolute;
right: -156px;
top: calc(50% - 66px);
}
.slot {
width: 106px;
height: 163px;
overflow: hidden;
position: absolute;
background-color: rgba(250,249,250,1);
top: 103px;
border: 1px solid rgba(253,138,197,1);
}
.slot li {
display: block;
width: 106px;
height: 163px;
font-size: 72px;
text-align: center;
line-height: 163px;
}
.slot1 {
left: 185px;
}
.slot2 {
left: 305px;
}
.slot3 {
left: 425px;
}
.slot4 {
left: 545px;
}
.slotAnimation {
animation: slotSlice 1s linear 0s 1;
}
@keyframes slotSlice {
0% {
transform: translateY(0px)
}
100% {
transform: translateY(-4890px)
}
}
div.prizeTips {
padding: 1em 0 0;
text-align: center;
font-size: 18px;
}
div.prizeTips > span {
font-weight: bold;
color: rgba(253,138,197,1);
padding: 0 0.5em;
}
.slotMachine-box ul
{
padding:0;
}