-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
62 lines (54 loc) · 1.05 KB
/
style.css
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
display: flex;
flex-direction: column;
align-items: center;
}
header {
text-align: center;
background-color: #ff6347;
color: white;
padding: 15px;
margin-bottom: 20px;
width: 100%;
}
header h1 {
margin: 0;
font-size: 2rem;
}
.info {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 10px;
}
#grid {
width: 90%;
max-width: 600px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
gap: 10px;
border: 5px solid #ff6347;
padding: 10px;
background-color: white;
}
#grid img {
width: 80px;
height: 80px;
object-fit: cover;
border: 2px solid #ddd;
cursor: pointer;
transition: transform 0.3s;
}
#grid img:hover {
transform: scale(1.1);
}
#grid img.matched {
border: 2px solid #4caf50;
}
#grid img.unmatched {
border: 2px solid #f44336;
}