-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilosJuego.css
67 lines (58 loc) · 1.19 KB
/
estilosJuego.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
67
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.container-juego{
background-color: lightcoral;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
}
.cabecera{
margin-top: 40px;
width: 80vmin;
background-color: #CCC;
}
.cabecera ul{
list-style: none;
display: flex;
justify-content: space-around;
align-items: center;
padding: 1rem;
}
.cabecera ul li p{
font-size: 1.2rem;
display: inline;
}
#tablero{
margin-top: 40px;
background-color: #CCC;
width: 80vmin;
height: 80vmin;
display: grid;
grid-template-rows: repeat(51, 1fr);
grid-template-columns: repeat(51, 1fr);
}
.snake {
background-color: rgb(157, 247, 157);
border: .25vmin solid black;
}
.snakeHead{
background-image: url(../img/snakeHead.png);
background-repeat: no-repeat;
background-size: contain;
}
.apple {
background-image: url(../img/apple.png);
background-repeat: no-repeat;
background-size: contain;
}
.appleDorada{
background-image: url(../img/appleDorada.png);
background-repeat: no-repeat;
background-size: contain;
}