Created
August 26, 2012 11:16
-
-
Save benshimmin/3477662 to your computer and use it in GitHub Desktop.
How to create an HTML character entity in CSS generated content
This file contains hidden or 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
// 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 · 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