CSS Web安全字型組合,cssweb字型
常用的字型組合
font-family屬性是多種字型的名稱,作為一個"應變"制度,以確保瀏覽器/作業系統之間的最大相容性。如果瀏覽器不支援的第一個字型,它嘗試下一個的字型。
你想要的字型類型如果瀏覽器找不到,它會從通用的字型類型中找到與你相似的:
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 |
原文地址:http://www.manongjc.com/cssref/css_websafe_fonts.html
相關閱讀:
完美解決Iframe高度自適應(相容性好並且支援跨域)
iframe 如何設定高度自適應 - iframe 自適應高度的方法
php wordwrap() 函數對長字串或連結進行強制折行換行處理
php substr_replace() 將字串的一部分替換為另一個字串
php substr_compare從指定的開始位置比較兩個字串
php substr() 從字串指定位置開始截取指定長度的子字串