-
Notifications
You must be signed in to change notification settings - Fork 0
/
snake.css
66 lines (55 loc) · 774 Bytes
/
snake.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
* {
margin: 0;
padding: 0;
}
body {
background: #EEE;
}
#board {
margin: 10px auto;
width: 500px;
height: 500px;
background: #EEE;
position: relative;
}
.pixel {
display: inline-block;
width: 19px;
height: 19px;
position: relative;
z-index: 88;
background: #EEE;
border: 1px solid #DDD;
margin-right: -1px;
margin-bottom: -1px;
}
.pixel.off {
background: #EEE;
z-index: 5;
}
.row {
height: 20px;
}
.food {
background: #FFEF0A;
box-shadow: 0px 0px 15px #FFEF0A;
position: relative;
z-index: 99;
outline: none;
}
.snake {
background: #3DB841;
}
.end {
background: red;
}
#scoreboard {
font-family: "Adelle Sans";
font-weight: 100;
font-size: 36px;
width: 100px;
margin: 0 auto;
text-align: center;
margin-top: 30px;
color #333;
}