Skip to content

Instantly share code, notes, and snippets.

@richgcook
Created June 4, 2014 10:43
Show Gist options
  • Save richgcook/7ec0dec2a5b8e25b964f to your computer and use it in GitHub Desktop.
Save richgcook/7ec0dec2a5b8e25b964f to your computer and use it in GitHub Desktop.
Find unicode of glyph/symbol (useful for CSS content)
'➜'.charCodeAt(0).toString(16); //enter in console – outputs '279c'
// Then add \ at the front, so the full code would be:
ul li:before {
content: '\279c';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment