I have a straightforward Bootstrap 4 card with a footer that includes some text and an icon. Take a look at the code snippet below:
<div class="card">
<div class="card-header">
Featured
</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
<div class="card-footer">
<a href="#" class=""><i style="font-size: 2.5em;" class="fab fa-facebook"></i></a>
<span class="float-right">some text</span>
</div>
</div>
My challenge is when I add the icon code in the footer, it makes the footer larger. What I want is for the icon to overlay the footer area, almost like floating on top of it, without changing the size of the footer. There are multiple cards with the same footer on the page.
Any tips on how to achieve this?