Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the "up-pointing" version of U+25BE?

Tags:

unicode

I'm not even sure if it exists but I'm using this Unicode character as a down indicator http://www.charbase.com/25be-unicode-black-down-pointing-small-triangle (▾) but I need the "up" version...any ideas?

like image 942
SomethingOn Avatar asked Nov 28 '22 01:11

SomethingOn


2 Answers

U+25B4 (▴) is technically the up-pointing version of (▾), but it's not exactly the same.

I was using it for showing whether a dropdown element was open and needed it to be exact. So I ended up using CSS transform to flip it. (In my case it was a pseudo-element).

.dropdown::after {
  content: '\25BE';
}

.dropdown.active::after {
  transform: rotate(180deg);
}
like image 114
Seth Avatar answered Dec 04 '22 08:12

Seth


For this character, http://www.unicode.org/charts/PDF/U25A0.pdf contains U+25BE (▾) and related characters.

Looking at the PDF shows U+25B4 (▴) as the black small up-pointing triangle (formally BLACK UP-POINTING SMALL TRIANGLE).

In general, go to http://www.unicode.org/charts and enter the hex number for a character (e.g. 25B4) and it will show you which PDF file describes the related characters. View the PDF; in this case, a quick scan upwards from the down-pointing arrow found the related character code, and the next page shows the formal name and related details.

like image 29
Jonathan Leffler Avatar answered Dec 04 '22 08:12

Jonathan Leffler