Last active
December 22, 2015 23:59
-
-
Save graphicdesignbyemily/6550991 to your computer and use it in GitHub Desktop.
Importing FontAwesome into css file and utilizing it via :before as a header icon
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
Download the FontAwesome zip, unpack, and upload to server | |
import via url | |
"\f132" is the unicode for the shield icon, use whatever you want in this place | |
the "\00a0" unicode for a space to add a bit of between the icon and the h3 title text |
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
h3:before { | |
font-family: FontAwesome; | |
content:"\f132 \00a0"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment