更多操作
Xp00000000(留言 | 贡献) 小 清空全部内容 标签:清空 手工回退 |
Xp00000000(留言 | 贡献) 小无编辑摘要 |
||
第1行: | 第1行: | ||
/* 首页home-card--button的修复 */ | |||
.home-card--button { | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.home-card__foreground { | |||
height: 100%; | |||
position: absolute; | |||
left: 15px; | |||
color: white; | |||
line-height: 48px; | |||
font-weight: bold; | |||
user-select: none; | |||
pointer-events: none; | |||
z-index: 2; | |||
} | |||
.home-card__background::before { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
content: ""; | |||
background: linear-gradient(90deg, | |||
rgba(0, 0, 0, 1) 0%, | |||
rgba(0, 0, 0, 0.4) 50%, | |||
transparent 100%); | |||
pointer-events: none; | |||
z-index: 1; | |||
} |
2025年4月19日 (六) 21:29的版本
/* 首页home-card--button的修复 */
.home-card--button {
position: relative;
overflow: hidden;
}
.home-card__foreground {
height: 100%;
position: absolute;
left: 15px;
color: white;
line-height: 48px;
font-weight: bold;
user-select: none;
pointer-events: none;
z-index: 2;
}
.home-card__background::before {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
background: linear-gradient(90deg,
rgba(0, 0, 0, 1) 0%,
rgba(0, 0, 0, 0.4) 50%,
transparent 100%);
pointer-events: none;
z-index: 1;
}