-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnake.css
More file actions
117 lines (98 loc) · 1.57 KB
/
snake.css
File metadata and controls
117 lines (98 loc) · 1.57 KB
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
111
112
113
114
115
116
117
.scorebox {
background: gray;
position:absolute;
left:28em;
width:10em;
border:dashed;
text-align: center;
color: black;
height:4em;
}
.fullframe {
position:fixed;
top:0em;
left:0em;
width: 800px;
height: 800px;
}
#grid {
position:absolute; left:0;top:0; z-index: 2;
}
#background {
position:absolute; left:0;top:0; z-index: 1;
}
#currentblock {
position:absolute; left:0;top:0; z-index: 2;
}
.scoreboxone {
top:0em;
}
.scoreboxtwo {
top:4em;
}
.scoreboxthree {
top:8em;
}
body {
background-color: darkgray;
}
.startbutton {
background-color: gray;
position:absolute;
left:0em;
top:55%;
width:55%;
height:10%;
color: white;
border: none;
}
.gamebutton {
color: white;
opacity: 0.8;
outline:none;
border:transparent;
position:relative;
}
.invisiblebutton {
color: transparent;
background: transparent;
outline: none;
border: transparent;
position:relative;
}
.upcolor {
background: red;
}
.downcolor {
background: green;
}
.leftcolor {
background: blue;
}
.rightcolor {
background: orange;
}
.up {
left:15%;
top:-13.75%;
width:25%;
height:27.5%;
}
.down {
left:-10.5%;
top:13.75%;/*16.5em;*/
width:25%;
height:27.5%;
}
.left {
left:-51%;
top:0%;
width: 15%;/*9em;*/
height:55%/*33em;*/
}
.right {
left:-26.5%;
top:0%;
width:15%;
height:55%;
}