As a newcomer to CSS, I’m not entirely sure what to call this effect or how to achieve it. Essentially, I am looking to create something similar to (picture 1), but all I have managed so far is (picture 2): https://i.sstatic.net/FrR16.png I’ve experimented with z-index and padding, but I feel like there must be a better solution out there.
Below is the code for producing picture 2:
<div class="row text-center">
<div class="col-lg-4">
<div class="card" style="width: 20rem;">
<img class="card-img-top" src="picture.png" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Mirion Jones</h4>
<p class="card-position">CEO Founder</p>
<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>
</div>
I am utilizing Bootstrap 4.