-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (41 loc) · 788 Bytes
/
Copy pathstyle.css
File metadata and controls
48 lines (41 loc) · 788 Bytes
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
*{
margin: 0;
padding: 0;
box-sizing: 0;
}
body{
height: 100vh;
width: 100vw;
background-color: whitesmoke;
display: flex;
align-items: center;
justify-content: center;
}
.container{
height: 40rem;
width: 36rem;
background-color: white;
box-shadow: 0 0 10px 1px lightgray;
}
.score-container{
height: 4rem;
width: 36rem;
background-color: grey;
display: flex;
align-items: center;
justify-content: center;
font-size: larger;
}
.game-container{
height: 36rem;
width: 36rem;
display: grid;
grid-template: repeat(25,1fr) / repeat(25,1fr);
}
.food{
background-color: green;
border-radius: 50%;
}
.snake{
background-color: red;
}