-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyle.css
More file actions
37 lines (34 loc) · 695 Bytes
/
style.css
File metadata and controls
37 lines (34 loc) · 695 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
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
background-color: #f0f0f0;
margin: 0;
padding: 20px;
}
#game-container {
display: grid;
grid-template-columns: repeat(4, 100px);
grid-gap: 15px;
margin-top: 20px;
}
.card {
width: 100px;
height: 100px;
background-color: #4caf50;
display: flex;
justify-content: center;
align-items: center;
font-size: 40px;
color: white;
cursor: pointer;
border-radius: 8px;
user-select: none;
transition: transform 0.3s;
}
.card.flipped {
background-color: #fff;
color: #000;
transform: rotateY(180deg);
}