This commit is contained in:
2026-02-03 01:22:47 +01:00
parent 6b5574e3c7
commit 15b186aab0
9 changed files with 158 additions and 1 deletions

34
css/style.css Normal file
View File

@ -0,0 +1,34 @@
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
padding: 12px;
max-width: 900px;
margin: 0 auto;
}
.container div {
background-color: #f1f1f1;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
aspect-ratio: 3 / 4;
}
.container div img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
@media (max-width: 600px) {
.container {
grid-template-columns: repeat(2, 1fr);
}
}
h1 {
text-align: center;
font-size: 2rem;
margin-bottom: 2rem;
}