I am currently utilizing Bootstrap to create auto-layout columns.
My goal is to find a solution to hide the div
element that wraps to the next line. I attempted setting a fixed height for the row
class and then employing @media
queries, but have not achieved the desired result.
Do you have any suggestions on a more effective approach?
<!-- Implementing Bootstrap-4 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!-- Document Body -->
<div class="container-fluid">
<div class="row">
<div class="col-sm" style="min-width:300px;">1 of 4</div>
<div class="col-sm" style="min-width:300px;">2 of 4</div>
<div class="col-sm" style="min-width:300px;">3 of 4</div>
<div class="col-sm" style="min-width:300px;">4 of 4</div>
</div>
</div>