CSS Web安全性字体样式组成详解

日期:2021-01-20 类型:科技新闻 

关键词:怎么把小程序变成二维码,微信小程序怎么开通,微信小程序csdn,小程序开发,网络答题小程序

常见的字体样式组成

font-family特性是多种多样字体样式的名字,做为1个"应变"规章制度,以保证访问器/实际操作系统软件之间的最大适配性。假如访问器不适用的第1个字体样式,它尝试下1个的字体样式。

你要想的字体样式种类假如访问器找不到,它会从通用性的字体样式种类中寻找与你类似的:

CSS Code拷贝內容到剪贴板
  1. p{font-family:"Times New Roman", Times, serif}    

下面是1些常见的字体样式组成,通用性的字体样式系列。

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安全性字体样式组成详解便是网编共享给大伙儿的所有內容了,期待能给大伙儿1个参照,也期待大伙儿多多适用脚本制作之家。

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