I'm currently working on creating a title that has a unique design:
https://i.sstatic.net/VhEBQ.png
The design requires a horizontal line to start from the left side of the viewport and end at the same point where the title ends. I am aiming to keep everything contained within a Bootstrap column. Here is the initial markup that I have:
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f0929f9f848384829180b0c5dec1dec1">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-12">
<div class="title-with-line">
<h2>A great title</h2>
</div>
</div>
</div>
</div>
I prefer to keep the HTML markup as it is without making major changes. Additional elements can be added inside the column without any issue. It is important to me that nothing is placed outside of the column div.