Tuesday, July 23, 2019

android - Unicode character fallback?




Certain mobile browsers do not seem to support all unicode characters, like this down arrow icon:



span.icon:after {
content:"\25be";
}


Simply nothing is displayed. How can I detect this and provide either fallback text or an image?


Answer



I'm not sure about fallback, but you may want to try

content:"\25bc"
(larger arrow)
instead of
content:"\25be"
It is said to be better supported.
See also https://stackoverflow.com/a/2701226


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...