-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (63 loc) · 1000 Bytes
/
Copy pathstyle.css
File metadata and controls
73 lines (63 loc) · 1000 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
* {
margin: 0;
padding: 0;
}
body{
width:100%;
height:100%;
background:rgb(216, 243, 220);
}
h1{
text-align: center;
}
button{
padding: 5px 5px 5px 5px;
/* display: block; */
}
button .top{
margin-right:40px;
}
.game-box{
width:400px;
height:400px;
margin:50px auto;
border:2px solid #F16A29;
}
.grid-container{
width:200px;
height: 200px;
background-color:red;
margin:0 auto;
display: flex;
flex-wrap: wrap;
}
.grid-container div{
width:20px;
height:20px;
border:1px black solid;
box-sizing: border-box;
}
.direction-btn{
width:200px;
margin:20px auto;
background-color: #F16A29;
}
.snake{
background-image: linear-gradient( green,red);
}
.apple{
background:yellow;
border-radius:20px;
}
.popup{
width:150px;
height:100px;
position: fixed;
/* top:50px; */
left:330px;
bottom:300px;
display: flex;
justify-content: center;
align-items: center;
background:rgb(32,31,31);
}