-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (109 loc) · 2.25 KB
/
style.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* * {
box-sizing: border-box;
} */
body {
background-color: yellowgreen;
}
h1 {
display: flex;
margin-left: 10px;
justify-content: left;
}
.grid-wrapper {
display: flex;
justify-content: center;
align-items: center;
background-color: black;
}
.grid {
width: 400px;
height: 400px;
display: flex;
flex-wrap: wrap;
border-style: solid;
background-image: url(https://wallpapercave.com/wp/wp2409705.jpg);
background-size: contain;
justify-items: center;
}
.grid div {
width: 39px;
height: 39px;
}
.snake {
background-color: green;
border-color: black;
border-style: solid;
border-radius: 8px;
}
.apple {
background-image: url(https://media.giphy.com/media/l3q2vJAGnN2bCRduM/giphy.gif);
background-size: cover;
background-repeat: no-repeat;
border-radius: 17px;
opacity: 0.8;
border-style: groove;
border-color: blueviolet;
display: flex;
flex-direction: row;
}
.score-wrapper {
font-style: italic;
font-weight: bold;
display: flex;
align-content: center;
background-color: yellowgreen;
padding-left: 10px;
border-style: ridge;
border-width: thick;
}
.container-score {
display: flexbox;
margin-left: 300px;
width: 120px;
height: 80px;
justify-content: center;
background-color:yellowgreen;
padding-top: 20px;
padding-bottom: 20px;
border-style: solid;
border-width:3px;
box-shadow: 10px black;
}
.score {
color: black;
display: flex;
flex-direction: row
align-content: center;
justify-content: center;
font-size: 20px;
border-radius: 20px;
}
.start {
justify-content: center;
background-size: cover;
border-style: ridge;
border-width: thick;
border-radius: 10px;
background-color: darkgrey;
}
.start-wrapper {
display: flex;
justify-content: center;
font-size: 25px;
background-image: url(https://stanprucha.com/wp-content/uploads/2018/12/Red-Brick-Wall-Background-DSC03224-27-07-18.jpg);
}
.dead {
width: 390px;
height: 400px;
display: flex;
flex-wrap: wrap;
border-style: solid;
background-image: url(https://image.winudf.com/v2/image/Y29tLnh0cl9zY3JlZW5fM19mMnU5b2k5Yg/screen-3.jpg?fakeurl=1&type=.jpg);
}
footer{
display: flex;
justify-content: center;
background-size: cover;
background-color: black;
min-height: fit-content;
}