系列产品页
This commit is contained in:
@@ -6739,4 +6739,74 @@ img {
|
||||
font-size:24px;
|
||||
line-height: 50px;
|
||||
color: #102541;
|
||||
}
|
||||
|
||||
/* Product Cards */
|
||||
.product-cards {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
}
|
||||
.product-card {
|
||||
width: calc(33.333% - 14px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid #ebf4fd;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
||||
transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
|
||||
}
|
||||
.product-card:hover {
|
||||
box-shadow: 0 10px 30px rgba(20,129,255,0.25);
|
||||
transform: translateY(-4px);
|
||||
background: #f8fbff;
|
||||
}
|
||||
.product-card .card-img {
|
||||
height: 0;
|
||||
padding-bottom: 44%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.product-card .card-img img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.product-card .card-content {
|
||||
padding: 15px;
|
||||
flex: 1;
|
||||
}
|
||||
.product-card .card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.product-card .card-header h4 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
color: #102541;
|
||||
}
|
||||
.product-card .card-tag {
|
||||
background: #1481ff;
|
||||
color: #fff;
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.product-card .card-content p {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.product-card { width: calc(50% - 10px); }
|
||||
}
|
||||
@media (max-width: 550px) {
|
||||
.product-card { width: 100%; }
|
||||
}
|
||||
Reference in New Issue
Block a user