当前位置:Gxlcms > css > CSSWeb安全字体组合的详细说明

CSSWeb安全字体组合的详细说明

时间:2021-07-01 10:21:17 帮助过:52人阅读

下面小编就为大家带来一篇CSS Web安全字体组合的详细说明。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧

常用的字体组合

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

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

p{font-family:"Times New Roman", Times, serif}

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

Serif 字体

字体文本示例
Georgia, serifThis is a heading

This is a paragraph

"Palatino Linotype", "Book Antiqua", Palatino, serifThis is a heading

This is a paragraph

"Times New Roman", Times, serifThis is a heading

This is a paragraph


sans - serif字体

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

This is a paragraph

Arial Black, Gadget, sans-serifThis is a heading

This is a paragraph

"Comic Sans MS", cursive, sans-serifThis is a heading

This is a paragraph

Impact, Charcoal, sans-serifThis is a heading

This is a paragraph

"Lucida Sans Unicode", "Lucida Grande", sans-serifThis is a heading

This is a paragraph

Tahoma, Geneva, sans-serifThis is a heading

This is a paragraph

"Trebuchet MS", Helvetica, sans-serifThis is a heading

This is a paragraph

Verdana, Geneva, sans-serifThis is a heading

This is a paragraph


Monospace 字体

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

This is a paragraph

"Lucida Console", Monaco, monospaceThis is a heading

This is a paragraph


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

以上就是CSS Web安全字体组合的详细说明的详细内容,更多请关注Gxl网其它相关文章!

人气教程排行