intial commit
This commit is contained in:
parent
53ad0689f7
commit
fb515ba6d6
32
style.css
Normal file
32
style.css
Normal file
@ -0,0 +1,32 @@
|
||||
/* Basic layout */
|
||||
body{
|
||||
font-family: Arial;
|
||||
text-align: center;
|
||||
background: #f7f7f7;
|
||||
}
|
||||
#game{
|
||||
width: 450px;
|
||||
margin: auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
.card{
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: #333;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 45px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
.card.open{
|
||||
background: #4caf50;
|
||||
}
|
||||
.card.matched{
|
||||
background: #2196f3;
|
||||
cursor: default;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user