-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (54 loc) · 1 KB
/
Copy pathstyle.css
File metadata and controls
55 lines (54 loc) · 1 KB
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
*{
margin:0;
padding:0;
box-sizing: border-box;
}
#main{
flex-direction: column;
display:flex;
width:800px;
height:800px;
}
.row{
width:100%;
height:100%;
background-color: rgb(182, 231, 48);
display:flex;
flex-direction: row;
}
.column{
width:100%;
position:relative;
}
#worm-tail{
width:80%;
height:80%;
position:relative;
background-color: blueviolet;
}
.snake-body{
width:80%;
height:80%;
position:relative;
background-color: rgb(0, 0, 0);
}
#snake-head{
width:80%;
height:80%;
position:relative;
background-color: rgb(0, 0, 0);
/* border-radius: 40% / 80%; */
/* background-image: url("media/snake-head.png");
background-repeat: no-repeat, no-repeat; */
}
#snake-food{
width:50%;
height:50%;
background-color: rgb(0, 60, 255);
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
border-radius: 50px;
}