This commit is contained in:
@@ -5,16 +5,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.banner-cont .swiper-slide {
|
.banner-cont .swiper-slide {
|
||||||
height: 500px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: linear-gradient(0, #f7f9fa, #f9fafb);
|
background: linear-gradient(0, #f7f9fa, #f9fafb);
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner-cont .swiper-slide .img {
|
.banner-cont .swiper-slide .img {
|
||||||
/* 保持图片占满宽度,避免拉伸过度 */
|
/* 保持图片占满宽度,避免拉伸过度 */
|
||||||
max-height: 100%;
|
|
||||||
max-width: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 文案区域:固定在左侧,顶部留出一致间距,避免切换时轻微位移 */
|
/* 文案区域:固定在左侧,顶部留出一致间距,避免切换时轻微位移 */
|
||||||
|
|||||||
Reference in New Issue
Block a user