I am faced with a challenge while using the bootstrap grid system with the row-col attribute. The issue is that when columns wrap, they do not maintain the height of the tallest columns from the previous rows. Is there a way to ensure that the wrapped columns maintain the height of the tallest one?
I am exploring possibilities to achieve this intelligently within the framework of Bootstrap, as simple solutions like setting "min-height" are not suitable in this case.
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="97e7f8e7e7f2e5b9fde4d7a6b9a6a1b9a7">[email protected]</a>/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<div class="container-fluid">
<div class="row row-cols-2 row-cols-md-4" id="cordContainer">
<div class="col mb-4">
<div class="card h-100 border-primary">
<div class="card-header bg-primary"></div>
<img class="card-img-top" src="https://i0.wp.com/www.impact-media.be/wp-content/uploads/2019/09/placeholder-1-e1533569576673-960x960.png">
<div class="card-body border-top p-2"><p class="card-text text-center">Test</p></div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100 border-primary">
<div class="card-header bg-primary"></div>
<img class="card-img-top" src="http://www.nebero.com/wp-content/uploads/2014/05/placeholder.jpg">
<div class="card-body border-top p-2"><p class="card-text text-center">Test</p></div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100 border-primary">
<div class="card-header bg-primary"></div>
<img class="card-img-top" src="https://bulma.io/images/placeholders/480x640.png">
<div class="card-body border-top p-2"><p class="card-text text-center">Test</p></div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100 border-primary">
<div class="card-header bg-primary"></div>
<img class="card-img-top" src="https://bulma.io/images/placeholders/480x640.png">
<div class="card-body border-top p-2"><p class="card-text text-center">Test</p></div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100 border-primary">
<div class="card-header bg-primary"></div>
<img class="card-img-top" src="http://www.nebero.com/wp-content/uploads/2014/05/placeholder.jpg">
<div class="card-body border-top p-2"><p class="card-text text-center">Test</p></div>
</div>
</div>
</div>
<div class="row row-cols-1" id="otherItemsContainer">
</div>
</div>