In my Django app, I am utilizing Bootstrap for styling columns. I have successfully created a responsive layout that stacks vertically after a specific breakpoint using classes.
Now, my goal is to add some space or gutter between the columns while maintaining it when they are stacked vertically.
<div class="container">
<div class="row justify-content-center" style="margin-top: -100px;">
<!-- LEFT -->
<div class="col-md-4 border rounded bg-light">
<div class="row justify-content-center">
<h5 class="text-center"> Some text here </h5>
</div>
<br>
</div>
<!-- RIGHT -->
<div class="col-md-4 border rounded bg-white">
<div class="row justify-content-center">
<h3 class="text-center"> Some text here</h3>
<h2 class="text-center">Some text here</h2>
<p class="text-center" style="font-size: 11px;">Some text here</p>
</div>
</div>
<br>
</div>
</div>
Normal sizing https://i.sstatic.net/rv8CO.png
Responsive sizing https://i.sstatic.net/YrrlB.png
Desired outcome normal https://i.sstatic.net/jeGwg.png Desired outcome responsive https://i.sstatic.net/fvL88.png
I have attempted to include gutters following the guidelines in the Bootstrap documentation, but no method seems to achieve the desired spacing effect.
Your assistance is highly appreciated.