问题
What I want it to look like:

What it looks like in Edge:

The Unicode character is ▶
I am assuming edge is just trying to be clever and displaying their own image for my unicode character. How do I prevnt this nonesense. I have googled with no avail.
回答1:
You might find some insight in this thread. As it turns out, there is a workaround, but you would need to change the font-family
, at least for your symbol (assuming that you wrap your icon in <span>
element with icon
class) :
.icon {
font-family: "Segoe UI Symbol";
}
来源:https://stackoverflow.com/questions/54277837/unicode-displaying-strange-in-edge