Created
July 3, 2020 12:20
-
-
Save begrafx/89d1b0823cf6c1548da02448031fb197 to your computer and use it in GitHub Desktop.
Make Font Awesome icons have a circle background #fontawesome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
#social [class*="fab fa-"] { | |
background-color: #2A00FF; | |
border-radius: 40px; | |
color: #fff; | |
height: 40px; | |
line-height: 40px; | |
margin: auto 3px; | |
width: 40px; | |
font-size: 24px; | |
text-align: center; | |
} | |
</style> | |
<div id="social"> | |
<i class="fab fa-instagram"></i> | |
<i class="fab fa-facebook-f"></i> | |
<i class="fab fa-twitter"></i> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment