Skip to content

Instantly share code, notes, and snippets.

@MortenAndersen
Forked from danott/entities.css
Last active August 29, 2015 14:23
Show Gist options
  • Save MortenAndersen/84450f80c5e2bf4e3853 to your computer and use it in GitHub Desktop.
Save MortenAndersen/84450f80c5e2bf4e3853 to your computer and use it in GitHub Desktop.
/* Daniel Ott
* entities.css
* 31 January 2011
*
* Adding arrows to thinks makes them more clickable. Right?
* Use CSS's :after pseudo-selector to insert hexadecimal values
* of html entities into the document. Less markup. More awesome.
*/
.add-an-arrow:after {
content:'\00a0\25b8'; /*  ▸ in Hexadecimal */
}
/*-----------------------------------------------
A cheat sheet of entities I've used
-------------------------------------------------
Entity Hexcode Description
  \00a0 A space
◀ \25c0 Left arrow with no tail.
▸ \25b8 Right arrow with no tail.
▾ \25be Down arrow with no tail.
← \2190 Left arrow with a tail.
\2191 Up arrow with a tail.
→ \2192 Right arrow with a tail.
\2193 Down arrow with a tail.
\2022 Bullet
-----------------------------------------------*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment