模板:Main page/featured/styles.css

来自决策链云智库
< 模板:Main page/featured
Zeroclanzhang讨论 | 贡献2023年7月13日 (四) 23:48的版本 (创建页面,内容为“#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, #000, transparent ); border-radius: 0 0 8px 8px; content: ''; } #home-featured .home-card__foreground { pointer-events: none; right: 15px; bottom: 15p…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
#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, #000, transparent );
	border-radius: 0 0 8px 8px;
	content: '';
}

#home-featured .home-card__foreground {
	pointer-events: none;
	right: 15px;
	bottom: 15px;
	left: 15px;
}