I'm trying to build a responsive web interface for a mock "recipe app". Currently im using bootstrap 4 and i'm having trouble with customizing my card element to match my wireframe.
Wireframe card: https://imgur.com/a/XQHaltk
Current card in browser: https://imgur.com/a/kqmBGq4
I've managed to "fix" the border radius of my card image with a custom css
.img-rounded{
border-radius: 20%;
}
However, I still need to make my card element rounded (like the picture of the wireframe). What's the best way of doing this?
Card HTML:
<div class="card" style="width: 18rem;">
<img src="./assets/img/1.jpg" class="card-img-top " alt="Jelo 1">
<div class="card-body">
<h5 class="card-title text-center">Recipe name</h5>
<p class="card-text mb-4">Some quick example text to build on the Recipe name and make up the bulk of the card's content.</p>
<div class="container mb-2">
<a href="#" class="btn btn-primary rounded-pill" style="background-color: #32BF84;">Open</a>
<a href="#" class="btn btn-primary rounded-pill" style="background-color: #32BF84;">Edit</a>
<a href="#" class="btn btn-primary rounded-pill" style="background-color: #32BF84;">Delete</a>
</div>
</div>
</div>