Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbanz authored Aug 9, 2023
1 parent 815a7dd commit 6462276
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@

.product-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
}

Expand All @@ -130,6 +131,8 @@
padding: 20px;
text-align: center;
max-width: 300px;
margin: 10px;
box-sizing: border-box;
}

.product img {
Expand All @@ -150,6 +153,17 @@
cursor: pointer;
}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
.product {
max-width: 100%;
}

.product-container {
justify-content: flex-start; /* Align products to the left on small screens */
}
}




Expand Down

0 comments on commit 6462276

Please sign in to comment.