This commit is contained in:
@@ -24,22 +24,21 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: center; /* 垂直居中,水平方向由内部 .section-content 控制 */
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner-cont .banner-text .section-content {
|
.banner-cont .banner-text .section-content {
|
||||||
|
/* 继承 .section-content 的左右 padding 和宽度,只单独控制上下间距 */
|
||||||
padding-top: 120px;
|
padding-top: 120px;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
padding-left: 40px; /* 与下方 .section-content.banner-list 的左侧视觉起点对齐 */
|
|
||||||
padding-right: 40px;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 文案块:控制具体的左边距,让其与下方 banner-s 第一列内容对齐 */
|
/* 文案块:控制具体的左边距,让其与下方 banner-s 第一列内容对齐 */
|
||||||
.banner-cont .banner-copy {
|
.banner-cont .banner-copy {
|
||||||
max-width: 560px;
|
max-width: 560px;
|
||||||
text-align: left;
|
text-align: left; /* 与下方内容同样左对齐 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner-cont .banner-copy h1 {
|
.banner-cont .banner-copy h1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user