什么是跨浏览器、跨平台的网络安全字体? [英] What are cross-browser, cross platfom web safe fonts?

查看:22
本文介绍了什么是跨浏览器、跨平台的网络安全字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何实现跨浏览器、跨平台、全设备兼容的css字体栈?

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

推荐答案

您无法保证移动设备上将使用的字体,就像您保证普通计算机上可用的字体一样.

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) */

这篇关于什么是跨浏览器、跨平台的网络安全字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆