Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Create style.css #561

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #333;
}

.game-container {
position: relative;
width: 300px;
height: 300px;
background-color: #222;
border: 1px solid #111;
}

.snake {
position: absolute;
width: 20px;
height: 20px;
background-color: #0f0;
}

.food {
position: absolute;
width: 20px;
height: 20px;
background-color: #f00;
}