-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.css
103 lines (95 loc) · 1.43 KB
/
index.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
*{
margin: 0;
padding: 0;
}
html,body{
width: 100%;
height: 100%;
overflow: hidden;
}
#Jgame{
position: relative;
}
#Jgame.ani::before{
animation: up .6s linear infinite;
}
#Jgame::before{
position: absolute;
bottom: 0;
left: 0;
content: '';
width: 750px;
height: 2808px;
z-index: 1;
background: url(./images/bgp.jpg) repeat-y center top ;
background-size: 750px 702px;
}
#Jgame.ani-paused::before{
animation-play-state:paused;
}
.can{
margin: 0 auto;
display: block;
position: relative;
z-index: 5;
}
@keyframes up{
0% {
bottom:0
}
100% {
bottom:-702px
}
}
.score-wrap{
height: 40px;
line-height: 40px;
position: absolute;
width: 100%;
top: 20px;
right: 0;
font-size: 30px;
color: #333;
z-index: 10;
color: yellow;
font-style: normal;
text-align: center;
}
.mouse-wrap{
position: absolute;
}
.btn-wrap{
z-index: 10;
width: 100%;
position: absolute;
bottom: 0;
left: 0;
display: flex;
justify-content: space-evenly;
padding-bottom: 20px;
}
.btn-start {
width: 120px;
height: 60px;
line-height: 60px;
background: #7EC0EE;
border: 2px solid #8A2BE2;
font-size: 24px;
text-align: center;
border-radius: 5px;
box-shadow: 0 2px 2px #8A2BE2;
display: block;
}
.checker{
position: fixed;
background-color: #000;
z-index: 1000;
display: none;
}
.dCan{
position: absolute;
top:0;
left: 0;
z-index: 999;
background-color: #ccc;
}