What are cross-browser, cross platfom web safe fonts?

后端 未结 7 880
醉酒成梦
醉酒成梦 2020-12-15 04:39

How to make cross browser, cross platform and all devices compatible css font stack?

相关标签:
7条回答
  • 2020-12-15 05:06

    You cannot guarantee the fonts that will be used on a mobile device the same way you can guarantee which fonts are available on a normal computer.

    A safe bet is to use a generic font family that can be interpreted by the mobile browser to show you the relevant font, e.g.

    font-family: serif; /* (e.g., Times) */
    font-family: sans-serif; /* (e.g., Helvetica) */
    font-family: monospace; /* (e.g., Courier) */
    
    0 讨论(0)
提交回复
热议问题