JClockH xc(讨论 | 贡献) 小无编辑摘要 |
JClockH xc(讨论 | 贡献) 小无编辑摘要 |
||
第25行: | 第25行: | ||
#home-selected .home-card__foreground { | #home-selected .home-card__foreground { | ||
position: absolute; | position: absolute; | ||
display: flex; | |||
pointer-events: none; | pointer-events: none; | ||
right: 15px; | right: 15px; | ||
bottom: | bottom: 15px; | ||
left: 15px; | left: 15px; | ||
} | } |
2023年8月15日 (二) 23:01的版本
#home-selected .home-card__background { background-position: center center !important; width: 100%; height: 100%; } #home-selected .home-card__background a { display: block; height: 100%; } #home-selected .home-card__background:after { position: absolute; pointer-events: none; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; display: block; content: ""; } #home-selected .home-card__foreground { position: absolute; display: flex; pointer-events: none; right: 15px; bottom: 15px; left: 15px; }