I am attempting to align 2 div elements side by side using Bootstrap code:
<div class='col-12'>
<div class='row'>
<div class='col-6'>
</div>
<div class='col-6'>
</div>
</div>
</div>
Everything works correctly, but the issue arises when the window width becomes too narrow as the divs start overlapping. In such cases, I want the divs to stack vertically and each col-6 element should become col-12.
How can I ensure this behavior?