CSS Font“Helvetica Neue” [英] CSS Font "Helvetica Neue"

查看:394
本文介绍了CSS Font“Helvetica Neue”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常看到使用字体Helvetica Neue的网站。这个字体是否安全使用,例如。 Arial?或者浏览器有麻烦渲染它或没有很多机器有这种字体?感谢。

I often see the websites using font "Helvetica Neue". Is this font safe to use, like eg. Arial? Or do the browsers have trouble rendering it or not many machines have this font? Thanks.

推荐答案

此字体在所有设备上都不标准。

This font is not standard on all devices. It is installed by default on some Macs, but rarely on PCs and mobile devices.

要在所有设备上使用此字体,请使用 @ font-face declaration 在您的网域上链接到它,如果你想使用

To use this font on all devices, use a @font-face declaration in your CSS to link to it on your domain if you wish to use it.

@font-face { font-family: Delicious; src: url('Delicious-Roman.otf'); } 
@font-face { font-family: Delicious; font-weight: bold; src: url('Delicious-Bold.otf'); }

取自 css3.info

这篇关于CSS Font“Helvetica Neue”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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