Currently I am utilizing the card component from BS4, but it seems to be displaying unexpected behavior: see the image description here
Upon inspecting the Mozilla dev version, the following markup is visible:
<div class="right-cards col-lg-3 col-md-6 col-sm-6 col-xs-6">
<div class="card " id="first-card">
<a id="first_card_btn" class="btn-none" style='position:absolute;top:0px;left:0px;width:100%;height:100%;display:block;'
onclick="myFunction(this.id)"></a>
<img class="card-img-top" src="https://via.placeholder.com/370" alt="Card image cap">
<div class="card-body">
<h4>contact us</h4>
</div>
</div>
</div>
The issue at hand is that I am trying to position the card-body on top of the image. While I am aware of the method to achieve this, I am unable to eliminate the excess whitespace no matter what technique I attempt.