第三个页
This commit is contained in:
@@ -2,16 +2,22 @@
|
||||
<section class="page page-advantage">
|
||||
<div class="content-wrapper">
|
||||
<div class="image-side">
|
||||
<div class="phone-placeholder"><span>手机截图</span></div>
|
||||
<img src="/src/assets/images/three-phone.png" class="phone-img" />
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h2 class="section-title">
|
||||
Every opening is an<br />
|
||||
unknown encounter
|
||||
unknown encounter.
|
||||
</h2>
|
||||
<p class="section-desc">
|
||||
每一次开启都是一场未知的邂逅。探索全新的交互体验,让沟通充满惊喜与期待。
|
||||
</p>
|
||||
<div class="section-card">
|
||||
<p class="section-desc">
|
||||
Every moment you open it, you embark on a poetic encounter with the unknown, and meet the unexpected beauty.
|
||||
</p>
|
||||
<div class="hero-buttons">
|
||||
<a href="#"><img src="/src/assets/images/android.png" class="btn-img" /></a>
|
||||
<a href="#"><img src="/src/assets/images/appStore.png" class="btn-img" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="deco deco-1">💎</div>
|
||||
@@ -54,21 +60,49 @@
|
||||
line-height: 1.25;
|
||||
margin-bottom: clamp(12px, 1.2vh, 28px);
|
||||
color: #1a1a1a;
|
||||
margin-left: -25%;
|
||||
}
|
||||
.section-card{
|
||||
|
||||
width: clamp(400px, 32vw, 1600px);;
|
||||
height: clamp(200px, 16vw, 800px);
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 39px 113px 0px rgba(2,190,172,0.2);
|
||||
border-radius: 2px 100px 2px 2px;
|
||||
padding: 10% ;
|
||||
margin-left: -38%;
|
||||
|
||||
.section-desc {
|
||||
font-size: @font-desc;
|
||||
line-height: 1.8;
|
||||
color: #888;
|
||||
max-width: clamp(260px, 22vw, 480px);
|
||||
}
|
||||
|
||||
.hero-buttons {
|
||||
display: flex;
|
||||
gap: clamp(10px, 3vw, 35px);
|
||||
margin-top: 20px;
|
||||
}
|
||||
.btn-img {
|
||||
height: clamp(36px, 6.6vh, 120px);
|
||||
width: auto;
|
||||
display: block;
|
||||
transition: transform 0.3s;
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
}
|
||||
.image-side {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.phone-img {
|
||||
height: clamp(320px, 75vh, 800px);
|
||||
width: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.phone-placeholder {
|
||||
width: @phone-w-main;
|
||||
height: @phone-h-main;
|
||||
@@ -106,5 +140,10 @@
|
||||
.section-title { text-align: center; }
|
||||
.section-desc { text-align: center; }
|
||||
.phone-placeholder { width: 180px; height: 333px; }
|
||||
.phone-img {
|
||||
height: clamp(320px, 50vh, 800px);
|
||||
width: auto;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user