I am seeking to adjust the color of the Font Awesome Facebook icon. To achieve this, I have tried using background-color
:
body {
font-size: 5em;
background: #555
}
.fa-facebook-square {
color: blue;
background-color: #fff;
}
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<i class="fa fa-facebook-square"></i>
This approach results in a white border appearing around the blue 'background' of the Facebook icon, which is not desired.
Is there a straightforward solution to only change the color of the "f" within the icon, while keeping the edges transparent?