1
我在View中有2個部分。使用一個div覆蓋2個div(ASP.NET Core)
這裏是查看代碼:
<section id="about" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>About Grayscale</h2>
<p>
</p>
<p>
</p>
<p>Н</p>
</div>
</section>
<!-- Download Section -->
<section id="download" class="content-section text-center">
<div class="download-section">
<div class="container">
<div>
<h2 style="text-align: center;">Программа обучения VR</h2>
<div style="width:30%;height:530px;float:left;border-style:solid;border-width:15px;border-color:#42DCA3">
<p style="padding-top:10px;font-size:30px;"><b>VR</b></p>
<p style="color:#FFD700;font-size:35px;"><b><strike>3600 грн </strike></b></p>
<p style="color:black;font-size:28px;"><b>2600 грн до 24.06.17 </b></p>
<div style="border-bottom: 1px solid #42DCA3;border-top: 1px solid #42DCA3;padding: 20px 0;margin-bottom: 20px;font-size:20px;">
6 недель, 12 занятий,36 часов<br>
+ практика с HTC Vive<br>
+ создание 3D объектов<br>
+ создание ролика с камерой 360°
</div>
<div style="font-size:20px;">Старт 01.07.17</div>
<div style="margin: 0 auto;padding-top:20px;">
<button class="btn btn-default btn-lg" data-toggle="modal" data-target="#myModal">Оставить заявку</button>
</div>
</div>
</div>
</div>
</div>
我需要創建在設計覆蓋這個2周的div喜歡這裏塊
我該怎麼做?
感謝您的幫助。
正如你看到的,從設計我已經分度,圖像和DIV與純色以及那些兩個div下一個街區。 – Logan
您的圖像不一定是div,它可以是您的下載部分的背景圖像,例如 background:url('path/to/your/image')#yoursolidcolor no-repeat top center; –