Looking to enhance the appearance of my colorful box created using bootstrap, I attempted to add a horizontal line spanning from left to right as shown in the second image. However, my approach of adding a new div element with a border did not result in fitting the entire width of the box.
https://i.sstatic.net/QUTlc.png
Fig: Image displaying border not fitting within the right container
https://i.sstatic.net/ONOLX.png
Fig: Expected outcome with the border fitting uniformly within the container
Below is the code snippet:
.row-eq-height {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet" />
<br>
<br>
<div class="container" style="color:white;">
<div>
<div class="row row-eq-height">
<div class="col-lg-5 col-md-5">
...
(Remaining code)
...
</div>
</div>
</div>
<div style="padding-top:50px;">
...
</div>
</div>
Issue encountered: The border fails to fit correctly within the right container.
<div class="col-md-12" style="border-bottom:1px solid red; "></div>