I am trying to create buttons like the picture below.
I am using stacked Font Awesome icons to put the icons on top of a circle and it looks like this:
(Ignore the gray line at the bottom. That's a result of poor screenshotting.)
However, as you can see, the icons are a tiny bit off. Ideally, I want to push them up a bit so they are vertically centered in the circle and either make the circles bigger or the icons smaller to get the nice padding as in the example. I also want to change the color of the circle which I don't know how to do and add hover effects (like change the icon to white).
Here is my code.
.footer {
position: absolute;
bottom: 0;
height: 50px;
background-color: #C0C0C0;
width: 100%;
}
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<div class="row footer">
<!-- FOOTER -->
<div class="col-md-4"></div>
<div class="col-md-4 text-center" id="copyright">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
</span>
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-envelope-o fa-stack-1x fa-inverse" aria-hidden="true"></i>
</span>
</div>
</div>