I am encountering an issue with my social media icons that are using font-awesome icons from Bootstrap. The problem is that the icons are not centered.
Here is the code I am using, most of which was copied and pasted from an online source:
#HTML
<!-- Add font awesome icons -->
<div class="social-btns">
<a class="btn facebook" href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a>
<a class="btn google" href="#"><i class="fa fa-google" aria-hidden="true"></i></a>
<a class="btn linkedin" href="#"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
<a class="btn instagram" href="#"><i class="fa fa-instagram" aria-hidden="true"></i></a>
<a class="btn flickr" href="#"><i class="fa fa-flickr" aria-hidden="true"></i></a>
<a class="btn github" href="#"><i class="fa fa-github" aria-hidden="true"></i></a>
</div>
#CSS
.social-btns .btn,
.social-btns .btn:before,
.social-btns .btn .fa {
-webkit-transition: all 0.35s;
transition: all 0.35s;
-webkit-transition-timing-function: cubic-bezier(0.31, -0.105, 0.43, 1.59);
transition-timing-function: cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
...
I am also looking to make sure the design is suitable for mobile devices. I have tried adjusting margins and text-align properties, but so far nothing has given me the desired result. Any assistance would be greatly appreciated.