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