Skip to content
Snippets Groups Projects
Commit 776af73f authored by Tiago Brito's avatar Tiago Brito
Browse files

Implemented CategoryProducts.js

parent 5ed033ff
No related branches found
No related tags found
No related merge requests found
.category-products {
width: 100%;
padding: 20px;
box-sizing: border-box;
}
.category-product-list {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.category-product {
width: 100%;
max-width: 600px; /* Adjust based on your layout */
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
.category-product img {
width: 100%;
height: 200px; /* Fixed height for all images */
object-fit: contain;
border-radius: 8px;
}
.category-product h3 {
margin: 10px 0;
}
.category-product p {
text-align: center;
margin-bottom: 10px;
}
.category-product button {
padding: 10px 20px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.category-product button:hover {
background-color: #0056b3;
}
.category-product a {
text-decoration: none;
color: #007BFF;
margin-top: 10px;
}
.category-product a:hover {
text-decoration: underline;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment