JClockH xc(讨论 | 贡献) 小无编辑摘要 |
JClockH xc(讨论 | 贡献) 小无编辑摘要 |
||
第16行: | 第16行: | ||
height: 100%; | height: 100%; | ||
display: block; | display: block; | ||
background: linear-gradient( to top, #000, transparent ); | |||
border-radius: 0 0 8px 8px; | border-radius: 0 0 8px 8px; | ||
content: ""; | content: ""; |
2023年8月15日 (二) 20:30的版本
#home-selected { overflow: hidden; } #home-selected .home-card__background a { display: block; height: 100%; } #home-selected .home-card__background:after { position: absolute; pointer-events: none; right: 0; bottom: 0; left: 0; height: 100%; display: block; background: linear-gradient( to top, #000, transparent ); border-radius: 0 0 8px 8px; content: ""; } #home-selected .home-card__foreground { pointer-events: none; right: 15px; bottom: 15px; left: 15px; }