Create style.css

This commit is contained in:
Voxel 2025-04-14 16:15:15 -04:00 committed by GitHub
parent 0dbd68a685
commit 897ff5e673
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,35 @@
body {
background-color: black;
color: white;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.tic-tac-toe {
display: grid;
grid-template-rows: repeat(3, 100px);
grid-template-columns: repeat(3, 100px);
gap: 5px;
background-color: black;
border: 2px solid white;
padding: 10px;
}
.cell {
background-color: black;
border: 2px solid white;
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
color: white;
cursor: pointer;
}
.cell:hover {
background-color: #444;
}