mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 21:53:40 -05:00
Create style.css
This commit is contained in:
parent
0dbd68a685
commit
897ff5e673
1 changed files with 35 additions and 0 deletions
35
assets/games/tictactoe/style.css
Normal file
35
assets/games/tictactoe/style.css
Normal 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;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue