Just starting out with Css and I'm having trouble aligning the google icon vertically in the center with some padding from the bottom. You can see the issue in the attached file. The text is aligned in the center.
.g-icon{
background-image: url("../../assets/imgs/googles.png");
background-repeat: no-repeat;
height: 28px;
width:28px;}
for html
<div class="text-center pl-3 pt-3 pb-3 shadow bg-white rounded reg-head">
<i class="g-icon d-flex align-items-center"></i>
<div class="reg">
<label class=" mx-0 my-0"> Register with Google</label>
</div>
</div>
Here is my screen shot Output for css code