zemiacsik
zemiacsik

Reputation: 71

MS Edge not applying css style "color" on unicode symbols

I have a following code:

<span style="color: blue;" title="square">◼</span>

The color is properly applied in Chrome, FF, Opera, IE11, but Edge is ignoring it and displaying as black.

Could you give me an advice or this is a bad approach?

Upvotes: 1

Views: 947

Answers (1)

Alex Slipknot
Alex Slipknot

Reputation: 2533

According to this answer you can specify font-family to your span to get it work:

<span style="color: blue; font-family: 'Segoe UI Symbol'" title="square">◼</span>

Upvotes: 3

Related Questions