3Dstudy/css/snake.css

27 lines
376 B
CSS
Raw Permalink Normal View History

2017-12-19 11:27:17 +01:00
*{
padding: 0;
margin: 0;
1 rem = 16px;
}
body{
background-color:#000;
}
.blank{
background-color:blank;
}
#snake{
position: absolute;
width: 1rem;
height: 1rem;
background-color:white;
}
.wall{
background-color:green;
}
#fruit{
position: absolute;
width : 1rem;
height: 1rem;
background-color:red;
}