I am currently working on creating buttons similar to the design shown in the image below.
https://i.sstatic.net/hMqHs.png
I have utilized stacked Font Awesome icons to place the icons atop a circle, resulting in this look:
https://i.sstatic.net/rtEkP.png
(Please disregard the faint gray line at the bottom caused by suboptimal screenshotting.)
Upon close inspection, you can notice that the icons are slightly misaligned. My goal is to adjust their position to ensure better vertical alignment within the circles by either enlarging the circles or scaling down the icons for improved padding like in the example provided. Additionally, I aim to change the color of the circles, a task with which I require some guidance, and implement hover effects such as switching the icon color to white.
Below is the snippet of code I am using for reference.
.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>