-
Notifications
You must be signed in to change notification settings - Fork 0
/
01.css
119 lines (103 loc) · 1.73 KB
/
01.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
109
110
*{margin: 0;padding: 0;}
/*开始页面*/
#main{
width: 320px;
height: 568px;
/*border: 1px solid red;*/
position: absolute;
margin: 0 400px;
background-color: gray;
background-image: url(image/开始背景.png);
}
/*开始游戏按钮*/
#begin button{
position: absolute;
width: 100px;
height: 30px;
left: 110px;
top: 450px;
border-radius: 30px;
background-color: rgba(0,0,0,.1);
border:1px solid black;
outline: none;
}
/*游戏主页面*/
#maindiv{
width: 320px;
height: 568px;
/*border: 1px solid red;*/
position: absolute;
margin: 0 400px;
background-color: yellow;
display: none;
background-image: url(image/background_1.png);
overflow: hidden;
z-index: 200
}
/*分数盒子*/
#score{
position: absolute;
margin-top: 30px;
margin-left: 30px;
z-index: 310;
}
img{
position:absolute;
}
/*结束界面*/
#end{
width: 160px;
border: 1px solid gray;
border-radius: 5px;
text-align: center;
background-color: lightgray;
position: absolute;
left:160px;
margin-left: -80px;
top:284px;
margin-top: -75px;
display: none;
z-index: 310;
}
#end #title{
width: 160px;
height: 40px;
line-height: 40px;
font-size: 20px;
}
#end #endScore{
width: 160px;
height: 60px;
line-height: 60px;
border-top:1px solid gray;
border-bottom:1px solid gray;
}
#end button{
width: 80px;
height: 30px;
border: 1px solid gray;
border-radius: 20px;
margin-top:20px;
margin-bottom:20px;
outline: none;
}
/*暂停界面*/
#zanting{
width: 160px;
text-align: center;
position: absolute;
left:160px;
margin-left: -80px;
top:284px;
margin-top: -75px;
display: none;
z-index: 310;
}
#zanting button{
width: 160px;
height: 40px;
border: 1px solid gray;
border-radius: 10px;
margin-top: 20px;
outline: none;
}