35 lines
572 B
CSS
35 lines
572 B
CSS
.product-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.product-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
text-decoration: none;
|
|
color: #333;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.product-item:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.product-name {
|
|
font-weight: 500;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.product-price {
|
|
font-weight: bold;
|
|
color: #2c7be5;
|
|
font-size: 1.1rem;
|
|
}
|