Skip to content

Instantly share code, notes, and snippets.

@smartweb
Created September 30, 2011 00:39
Show Gist options
  • Save smartweb/1252349 to your computer and use it in GitHub Desktop.
Save smartweb/1252349 to your computer and use it in GitHub Desktop.
More Icon, Not Image
http://somerandomdude.com/articles/design-technology/font-embedding-icons/
The basic idea is to generate a font containing your icons (much like wingding font sets), embedding that font using the @font-face CSS rule and taking advantage of the :before selector and content rule to inject a character bound to a specific icon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment