Degrading Unicode characters for web browsers with missing fonts

前端 未结 4 1625
甜味超标
甜味超标 2021-02-18 22:01

I am using the Unicode \'CHECK MARK\' (U+2713) in a html document. I find that it renders OK in most browsers, but occasionally I encounter someone with a missing font on their

4条回答
  •  盖世英雄少女心
    2021-02-18 22:50

    Unicode is pretty standard, I always use unicodemap.org. Here is the character your using [link] this will give you all codes associated with the checkmark. If you want full backwards compatibility you will need to use an actual image. 1 image file for a checkmark is more lightweight than a javascript hack/plugin. Probably your best alternative.

提交回复
热议问题