Skip to content

Instantly share code, notes, and snippets.

@graphicdesignbyemily
Last active December 22, 2015 23:59
Show Gist options
  • Save graphicdesignbyemily/6550991 to your computer and use it in GitHub Desktop.
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
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
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