Last active
June 20, 2018 21:56
-
-
Save harnerdesigns/504c5f8d7754d4464ec13614ff56a3c6 to your computer and use it in GitHub Desktop.
Snippets From Font Awesome 5 in Psuedo Elements Blog
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
a[href*='tel']{ | |
display: block; | |
color: #fff; | |
text-decoration: none; | |
&:before{ | |
display: none; | |
font-family: "Font Awesome 5 Solid"; | |
content: "\f095"; | |
} | |
} |
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
<script> | |
FontAwesomeConfig = { searchPseudoElements: true }; | |
</script> |
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
<nav> | |
<a href="tel:5555555555">Call Us</a> | |
</nav> |
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
<script> | |
FontAwesomeConfig = { searchPseudoElements: true }; | |
</script> | |
<script defer src="/static/fontawesome/fontawesome-all.js"</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment