42 lines
688 B
CSS
42 lines
688 B
CSS
.container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
justify-content: center;
|
|
}
|
|
.card {
|
|
background: #fff;
|
|
border: 1px solid #ddd;
|
|
border-radius: 10px;
|
|
width: 250px;
|
|
padding: 15px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.2s;
|
|
}
|
|
.card:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
.card img {
|
|
width: 100%;
|
|
height: 150px;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
}
|
|
.card h3 {
|
|
margin: 10px 0;
|
|
font-size: 18px;
|
|
color: #333;
|
|
}
|
|
.card p {
|
|
margin: 5px 0;
|
|
color: #555;
|
|
}
|
|
.price {
|
|
font-weight: bold;
|
|
color: #28a745;
|
|
}
|
|
.quantity {
|
|
font-weight: bold;
|
|
color: #007bff;
|
|
} |