48 lines
808 B
CSS
48 lines
808 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);
|
|
}
|
|
.card img {
|
|
width: 100%;
|
|
height: 150px;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
}
|
|
.card h3 {
|
|
margin: 10px 0;
|
|
font-size: 18px;
|
|
}
|
|
.price {
|
|
font-weight: bold;
|
|
color: #28a745;
|
|
}
|
|
.quantity {
|
|
margin: 10px 0;
|
|
font-weight: bold;
|
|
color: #007bff;
|
|
}
|
|
.input-container {
|
|
margin: 10px 0;
|
|
}
|
|
.input-container input {
|
|
width: 80%;
|
|
padding: 8px;
|
|
font-size: 14px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
}
|
|
.button-container {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
} |