Zeroclanzhang(讨论 | 贡献) 无编辑摘要 标签:已被回退 |
Zeroclanzhang(讨论 | 贡献) 无编辑摘要 标签:已被回退 |
||
第3行: | 第3行: | ||
} | } | ||
#home-featured .home- | #home-featured .home-card__backgroundfeatured a { | ||
display: block; | display: block; | ||
height: 100%; | height: 100%; | ||
} | } | ||
#home-featured .home- | #home-featured .home-card__backgroundfeatured:after { | ||
position: absolute; | position: absolute; | ||
pointer-events: none; | pointer-events: none; | ||
第21行: | 第21行: | ||
} | } | ||
#home-featured .home- | #home-featured .home-card__foregroundfeatured { | ||
pointer-events: none; | pointer-events: none; | ||
right: 15px; | right: 15px; |
2023年12月11日 (一) 16:59的版本
#home-featured {
overflow: hidden;
}
#home-featured .home-card__backgroundfeatured a {
display: block;
height: 100%;
}
#home-featured .home-card__backgroundfeatured:after {
position: absolute;
pointer-events: none;
right: 0;
bottom: 0;
left: 0;
display: block;
height: 100%;
/*background: linear-gradient( to top, #000, transparent );*/
border-radius: 0 0 8px 8px;
content: '';
}
#home-featured .home-card__foregroundfeatured {
pointer-events: none;
right: 15px;
bottom: 15px;
left: 15px;
}