This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.rgb {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 2560/1440; /* 2560/1440=16/9,核心比例约束 */
|
||||
aspect-ratio: 7680/2889; /* 2560/1440=16/9,核心比例约束 */
|
||||
/* background: url('../img/rgb.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% auto; */
|
||||
@@ -10,7 +10,7 @@
|
||||
}
|
||||
.rgb-text {
|
||||
position: absolute;
|
||||
top: -50px;
|
||||
top: -1rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -19,14 +19,14 @@
|
||||
.rgb-t {
|
||||
width: 100%;
|
||||
font-size: 0.63rem;
|
||||
color: #cbcfd8;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.rgb-p {
|
||||
font-size: clamp(16px, 1vw, 0.22rem);
|
||||
color: #cbcfd8;
|
||||
text-align: center;
|
||||
padding-top: 0.73rem;
|
||||
padding-top: 0.43rem;
|
||||
line-height: 1.8;
|
||||
font-family: "HarmonyOS-Light";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user