kudakurage / LigatureSymbols

Ligature Symbols is WebFont project to display the symbol with a ligature features. This Font is licensed under the SIL Open Font License.
http://kudakurage.com/ligature_symbols/
271 stars 17 forks source link

Add unicode hex values for CSS pseudo element #9

Closed dangayle closed 11 years ago

dangayle commented 11 years ago

You can't use html entities in a css pseudo element, because it inserts the ampersand and everything :

a:before { content: ''; }

In order to get it to work, you have to use the unicode hex values, which are stupid hard to figure out:

a:before { content: '\E139'; }

I had to use this unicode code converter to get the proper codepoints, but it would be super awesome if you provided them to begin with along with the html entities.

Great font, BTW!

kudakurage commented 11 years ago

Thanks for comment. It seems as you say. I'll fix it!!!

zhouqicf commented 9 years ago

thx.