I have been working on the following HTML layout using Bootstrap 4, but I've hit a snag with one element.
Check out the design preview below:
https://i.sstatic.net/V3tzT.png
The HTML code is as follows:
<section class="hm_sc_1">
<div class="container">
<div class="row no-gutters p-5 align-items-center" style="background: #a4186c;">
<div class="col-sm-12 col-md-12 col-lg-4 text-center ">
<img src="images/4632.png" alt="img-fluid" class="p-3 w-100">
</div>
<div class="col-sm-12 col-md-12 col-lg-8 p-5">
<h4 style="font-size: 20px;">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Commodi
fugiat atque dolores cum nesciunt.</h4>
</div>
</div>
<div class="row no-gutters p-5 align-items-center" style="background: #f6e1ec;">
<div class="col-sm-12 col-md-12 col-lg-4 text-center">
<img src="images/54332.png" alt="img-fluid" class="p-3 w-75">
</div>
<div class="col-sm-12 col-md-12 col-lg-8">
<h4 class="pt-0 pr-4 pb-4 pl-5" style="font-size: 20px; color: #251F3B;">Lorem ipsum dolor, sit amet
consectetur adipisicing elit. Dignissimos, labore. Quidem quasi officiis</h4>
<div class="pt-0 pr-4 pb-4 pl-5">
<p style="font-size: 16px; color: #251F3B;">Lorem, ipsum dolor sit amet consectetur adipisicing
elit. Est provident quisquam praesentium esse explicabo porro sed aperiam unde natus fuga
expedita cupiditate, at numquam animi quos nihil, itaque molestias! Eveniet!</p>
</div>
</div>
</div>
</div>
</section>