Even after researching and attempting solutions from previous questions, I still have not been able to achieve the desired outcome.
- What is the best way to align items inside columns?
- How can I adjust image size to perfectly fit the column width?
<section>
<div class="container-fluid idx-sec1">
<div class="row">
<div class="col-5">
<img style="width:125%" src="{%static 'images/idx-sec1-m.png' %}" alt="">
</div>
<div class="col-7">
<h1> FIBLIT is leading </h1>
<span>The future of Technology</span>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit.
Fuga placeat ratione consequatur aperiam laborum omnis ab
accusantium laboriosam quam debitis.
</p>
<button class="btn">Discover</button>
</div>
</div>
</div>
</section>
.idx-sec1{
background-image: url(../images/idx-sec1-f.jpg);
height: 100vh;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
Your help is greatly appreciated.