This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-width: 1280px;
|
||||
margin-top:1.87rem;
|
||||
margin-top:2.49rem;
|
||||
aspect-ratio: 16/9; /* 2560/1440=16/9,核心比例约束 */
|
||||
/* background: url('../img/yq1.png'); */
|
||||
background-size: cover;
|
||||
@@ -24,12 +24,12 @@
|
||||
/* 宽幅限制生效 */
|
||||
width: 100%;
|
||||
min-width: 1280px;
|
||||
padding-top: 1.1rem;
|
||||
padding-top: 1.47rem;
|
||||
}
|
||||
|
||||
.overlay-text div {
|
||||
width: 100%;
|
||||
font-size: 0.47rem;
|
||||
font-size: 0.63rem;
|
||||
color: #cbcfd8;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
@@ -37,27 +37,31 @@
|
||||
}
|
||||
|
||||
.overlay-text p {
|
||||
font-size: 0.17rem;
|
||||
font-size: clamp(16px,1vw,0.22rem);
|
||||
color: #cbcfd8;
|
||||
text-align: center;
|
||||
padding-top: 0.43rem;
|
||||
font-family: "HarmonyOS-Light";
|
||||
}
|
||||
.float-cards {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
bottom: -0.71rem;
|
||||
bottom: -1.05rem;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
.float-cards img {
|
||||
width: 2.22rem;
|
||||
/* width: 2.96rem; */
|
||||
/* width: 100%; */
|
||||
max-width: 2.96rem;
|
||||
aspect-ratio:296/215
|
||||
}
|
||||
.bottom-desc {
|
||||
text-align: center;
|
||||
color: #cbcfd8;
|
||||
font-size: clamp(16px, 1vw, 0.22rem);
|
||||
padding-top: 1.43rem;
|
||||
padding-top: 1.9rem;
|
||||
width: 100%;
|
||||
min-width: 1280px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user