-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
35 lines (31 loc) · 731 Bytes
/
Copy pathstyle.css
File metadata and controls
35 lines (31 loc) · 731 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
text-align: center;
}
.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-auto-rows: min-content; /* Set the height of each row */
gap: 20px; /* Gap between the boxes */
justify-content: center;
margin-top: 20px;
}
.content {
border: 2px solid #ccc;
padding: 20px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
.container {
grid-template-columns: 1fr; /* Switch to a single column on smaller screens */
gap: 10px;
}
}