I'm looking to add a border between the image and the card-body in a bootstrap card. Here is the CSS I currently have:
.card{
border-width: 6px;
border-color: rgb(255, 255, 255);
border-radius: 0;
background-color: transparent;
}
.card-body{
border-top-width: 5px;
border-top-color: rgb(255, 255, 255);
border-radius: 0;
color: rgb(255, 255, 255);
text-align: center;
}
Here is the HTML:
<div class="col-md-4">
<div class="card">
<img class="card-img-top" alt="Depression" src="images/depression.jpg">
<div class="card-body">
<h3 class="card-title">DEPRESSION</h3>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
</div>
Desired Outcome:
https://i.sstatic.net/Ec1nu.jpg
Current Result:
https://i.sstatic.net/YbMV0.png
Any assistance is greatly appreciated. Thank you.