-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
38 lines (34 loc) · 788 Bytes
/
styles.css
File metadata and controls
38 lines (34 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-align: center;
background: #f0f8ff;
padding: 60px;
}
#game-board {
display: grid;
grid-template-columns: repeat(4, 100px);
gap: 10px;
justify-content: center;
margin: 20px auto;
}
.card {
background: #fa90e2;
color: transparent;
font-size: 2rem;
width: 100px;
height: 100px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.3s, transform 0.4s;
}
.card.flipped {
background: white;
color: black;
transform: rotateY(200deg);
}
button {
cursor: pointer;
}