蝙蝠岛资源网 Design By www.hbtsch.com

常用的字体组合

font-family属性是多种字体的名称,作为一个"应变"制度,以确保浏览器/操作系统之间的最大兼容性。如果浏览器不支持的第一个字体,它尝试下一个的字体。

你想要的字体类型如果浏览器找不到,它会从通用的字体类型中找到与你相似的:

CSS Code复制内容到剪贴板
  1. p{font-family:"Times New Roman", Times, serif}    

下面是一些常用的字体组合,通用的字体系列。

Serif 字体

字体 文本示例 Georgia, serif This is a heading

This is a paragraph

"Palatino Linotype", "Book Antiqua", Palatino, serif This is a heading

This is a paragraph

"Times New Roman", Times, serif This is a heading

This is a paragraph

 

sans - serif字体

字体 文本示例 Arial, Helvetica, sans-serif This is a heading

This is a paragraph

Arial Black, Gadget, sans-serif This is a heading

This is a paragraph

"Comic Sans MS", cursive, sans-serif This is a heading

This is a paragraph

Impact, Charcoal, sans-serif This is a heading

This is a paragraph

"Lucida Sans Unicode", "Lucida Grande", sans-serif This is a heading

This is a paragraph

Tahoma, Geneva, sans-serif This is a heading

This is a paragraph

"Trebuchet MS", Helvetica, sans-serif This is a heading

This is a paragraph

Verdana, Geneva, sans-serif This is a heading

This is a paragraph

Monospace 字体

字体 文本示例 "Courier New", Courier, monospace This is a heading

This is a paragraph

"Lucida Console", Monaco, monospace This is a heading

This is a paragraph

以上这篇CSS Web安全字体组合详解就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。

原文地址:http://www.manongjc.com/cssref/css_websafe_fonts.html

标签:
CSS,Web,安全字体

蝙蝠岛资源网 Design By www.hbtsch.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
蝙蝠岛资源网 Design By www.hbtsch.com

评论“CSS Web安全字体组合详解”

暂无CSS Web安全字体组合详解的评论...