Home › Forums › CSS › [Solved] ::after pseudo element / content › Reply To: [Solved] ::after pseudo element / content
May 29, 2014 at 10:03 am
#171354
Participant
… AND I may have answered my own q?
as per a blog post I just came across:
http://alanhogan.com/tips/css/special-characters-in-generated-content
Turns out you have to put in an escaped reference to the hexadecimal Unicode character value.
#metaInfo::before {
content: “\21D3”; /Hexadecimal for Unicode down arrow (⇓)/
display: inline;
}
** update **
further testing made the above solution produce me odd results (damn you internet). I ended up using \ 00 + hex value of character ( that you can find on any ascii table). So I ended up using \ 00A9 and it worked like a charm .
Sorry for the troubles and waste of cloud space!! ;)