Zeroclanzhang(讨论 | 贡献) 无编辑摘要 标签:已被回退 |
Zeroclanzhang(讨论 | 贡献) 无编辑摘要 |
||
(未显示同一用户的28个中间版本) | |||
第1行: | 第1行: | ||
#home-featured { | #home-featured { | ||
overflow: hidden; | |||
} | } | ||
#home-featured .home- | #home-featured .home-card__background a { | ||
display: block; | |||
height: 100%; | |||
} | } | ||
#home-featured .home- | #home-featured .home-card__background:after { | ||
position: absolute; | |||
pointer-events: none; | |||
right: 0; | |||
bottom: 0; | |||
left: 0; | |||
display: block; | |||
height: 100%; | |||
background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent); | |||
border-radius: 0 0 8px 8px; | |||
content: ''; | |||
} | } | ||
#home-featured .home- | #home-featured .home-card__foreground { | ||
top: unset; | |||
} | |||
#home-featured .home-card__header { | |||
color: #000; | |||
background: linear-gradient(to right, #fff, transparent); | |||
} | } |
2023年12月11日 (一) 18:59的最新版本
#home-featured {
overflow: hidden;
}
#home-featured .home-card__background a {
display: block;
height: 100%;
}
#home-featured .home-card__background:after {
position: absolute;
pointer-events: none;
right: 0;
bottom: 0;
left: 0;
display: block;
height: 100%;
background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
border-radius: 0 0 8px 8px;
content: '';
}
#home-featured .home-card__foreground {
top: unset;
}
#home-featured .home-card__header {
color: #000;
background: linear-gradient(to right, #fff, transparent);
}