I am attempting to design a layout that resembles the component displayed in the image.
The layout consists of a 12 column Bootstrap grid. I would like the text to occupy 6 columns, with a spacer of 1 column between the text and the last column. The final column should house the image, taking up the remaining horizontal space both inside and outside the container.
I experimented with combining the container and container-fluid classes (although not recommended by Bootstrap documentation), but it did not produce the desired outcome.
Is there a way to achieve this specific layout using Bootstrap 4?
Image: https://i.sstatic.net/lGwr4.pngExisting code:
<div class="info-side">
<div class="container-fluid">
<div class="row">
<div class="col-6">
<h2>@Model.TitleText</h2>
<p>@Model.AreaText</p>
</div>
<div class="col-1">
</div>
<div class="col-5">
<img src="@Model.Image.Url)" alt="@Model.Image.AlternativeText" style="width: 100%; height:100%;">
</div>
</div>
</div>
</div>