In my simple block, I am trying to arrange 4 items in a row on desktop and 2 items per row on smaller devices like tablets and mobile. The desired layout is shown below: https://i.sstatic.net/3i799.png
To see a live demo, visit: jsfiddle
Below is the HTML code I have used:
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">Column 1</div>
<div class="col-md-3 col-sm-6">Column 2</div>
<div class="w-100 visible-sm" ></div> //tried this but not working
<div class="col-md-3 col-sm-6">Column 3</div>
<div class="col-md-3 col-sm-6">Column 4</div>
</div>
</div>
I'm having trouble figuring out what's causing the issue. Can you help?