How can I create a square image gallery using Bootstrap 4 cards?
<div class="card-group flex-wrap">
<div class="card border-dark">
<img class="card-img-top" src="https://cdn.pixabay.com/photo/2020/10/03/14/54/rock-formations-5623735__340.jpg" alt="Card image cap">
</div>
<div class="card border-dark">
<img class="card-img-top" src="https://cdn.pixabay.com/photo/2020/10/03/14/54/rock-formations-5623735__340.jpg" alt="Card image cap">
</div>
<div class="card border-dark">
<img class="card-img-top" src="https://cdn.pixabay.com/photo/2020/10/03/14/54/rock-formations-5623735__340.jpg" alt="Card image cap">
</div>
</div>
I want the images in the gallery to have square corners instead of rounded. I've tried adding the following code but it didn't work:
<img src="" class="img img-responsive full-width" />
Any suggestions on how to achieve this?