Skip to content

Instantly share code, notes, and snippets.

@harnerdesigns
Last active June 20, 2018 21:56
Show Gist options
  • Save harnerdesigns/504c5f8d7754d4464ec13614ff56a3c6 to your computer and use it in GitHub Desktop.
Save harnerdesigns/504c5f8d7754d4464ec13614ff56a3c6 to your computer and use it in GitHub Desktop.
Snippets From Font Awesome 5 in Psuedo Elements Blog
a[href*='tel']{
display: block;
color: #fff;
text-decoration: none;
&:before{
display: none;
font-family: "Font Awesome 5 Solid";
content: "\f095";
}
}
<script>
FontAwesomeConfig = { searchPseudoElements: true };
</script>
<nav>
<a href="tel:5555555555">Call Us</a>
</nav>
<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