1

Weird , i had this working before but stopped out now and doesn't seem to get corrected. I would like to display a down arrow through CSS using Content but the content does not get encoded(or what ever that process is known as).

JsFiddle

http://jsfiddle.net/HjuGR/1/

Community
  • 1
  • 1
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178

2 Answers2

12

After looking up this issue, I think you can use a backslash followed by the unicode number in the content string value http://archivist.incutio.com/viewlist/css-discuss/60075. This worked for me

.drop::after{content:"\2193"}​
kevinAlbs
  • 1,114
  • 2
  • 11
  • 20
3

You need to use UTF-encoded symbols here:

.drop::after{content:"\2193"}​

Here similar question on SO

Community
  • 1
  • 1
neoascetic
  • 2,476
  • 25
  • 34