Placing Unicode character in CSS content value [duplicate]

I have a problem. I have found the HTML code for the downwards arrow, ↓ (↓)

Cool. Now I need to use it in CSS like so:

nav a:hover {content:"&darr";}

That obviously won’t work since ↓ is an HTML symbol. There seems to be less info about these “escaped unicode” symbols that are used in css. There are other symbols like \2020 that I found but no arrows. What are the arrow codes?

1 Answer
1

Leave a Comment