-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (44 loc) · 1021 Bytes
/
style.css
File metadata and controls
50 lines (44 loc) · 1021 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
49
50
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: black;
}
.wrapper {
width: 65vmin;
height: 70vmin;
display: flex;
overflow: hidden;
flex-direction: column;
border-radius: 5px;
background: #292929;
border-color: saddlebrown;
}
.game-details {
color: #b8c6dc;
font-size: 1.2rem;
font-weight: 500;
padding: 20px 27px;
display: flex;
justify-content: space-between;
}
.play-board {
width: 100%;
height: 100%;
background: #212837;
display: grid;
grid-template: repeat(30, 1fr) / repeat(30, 1fr); /* se crea una fraccion en una cuadricula 30x30 (columnas/fila) la cual sera el espacio el cual se movera nuestra serpiente*/
}
.play-board .food {
background: #ff003d;
}
.play-board .head {
background: greenyellow;
}