Skip to content

Instantly share code, notes, and snippets.

@benshimmin
Created August 26, 2012 11:16
Show Gist options
  • Save benshimmin/3477662 to your computer and use it in GitHub Desktop.
Save benshimmin/3477662 to your computer and use it in GitHub Desktop.
How to create an HTML character entity in CSS generated content
// Because I always forget...
//
// In general:
//
// 1) Search for "<symbol you want> html unicode" or similar.
// 2) Replace u+ with a \
// 3) Profit.
//
// Example (a &middot; before a link):
a:before
content : "\00B7"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment