-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
50 lines (48 loc) · 757 Bytes
/
Copy pathindex.css
File metadata and controls
50 lines (48 loc) · 757 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
html, body {
margin: 10;
padding: 10;
}
body{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
background-color:#009688;
color:white;
}
.grid {
display: flex;
flex-wrap: wrap;
width: 400px;
height: 400px;
border: solid 2px black;
background-color:white;
}
.square {
width: 40px;
height:40px;
}
.snake {
background-color: green;
}
.tail-left,
.head-right{
border-radius:0% 50% 50% 0%;
}
.tail-right,
.head-left{
border-radius:50% 0% 0% 50%;
}
.tail-down,
.head-up{
border-radius:50% 50% 0% 0%;
}
.tail-up,
.head-down{
border-radius: 0% 0% 50% 50%;
}
.apple {
/* background-color: blue; */
font-size: 25px;
text-align: center;
}