-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake.css
39 lines (39 loc) · 820 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
*{
padding: 0;
margin: 0;
}
.container{
background: url("Snake_BG.jpg");
height: 100vh;
background-size: 225vh 46vw;
justify-content: center;
align-items: center;
display: grid;
}
.board{
background-color: black;
height: 90vh;
width: 90vh;
display: grid;
grid-template-columns: repeat(20,1fr);
grid-template-rows: repeat(20,1fr);
}
#scoreDisplay{
font-size: 20px;
text-align: right;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color: rgb(8, 49, 3);
}
.snakeBody{
background-color: green;
border: 2px rgb(255, 255, 255);
border-radius: 10px;
}
.food{
background-color: red;
border-radius: 18px;
}
.snakeHead{
background-color: greenyellow;
border-radius: 18px;
}