Struggling to include an icon in a bootstrap card? Want the icon, title, and text all in the same row? I attempted using float left on the card icon, but it didn't have the desired effect. Any suggestions on how to achieve this successfully would be greatly appreciated! Thank you :)
.card-icon {
background: rgba(255,255,255,0.9);
border-radius: 50%;
width: 60px;
height: 60px;
float: left;
margin-right: 15px;
text-align: center;
}
.card-icon i {
font-size: 48px;
}
<div class="card m-b-30 card-body">
<div class="card-icon"><i class="mdi mdi-database"></i></div>
<h3 class="card-title font-24">Available Credits: 2</h3>
<p class="card-text">2 Email Verification Credits Left</p>
<div class="d-flex">
<a href="#" class="btn btn-primary waves-effect waves-light">Buy More Credits</a>
<a href="#" class="btn btn-light waves-effect waves-light ml-3">Track Your Credits</a>
</div>
</div>