CSS Web安全字體組合
常用的字體組合
font-family屬性是多種字體的名稱,作為一個(gè)"應(yīng)變"制度,以確保瀏覽器/操作系統(tǒng)之間的最大兼容性。如果瀏覽器不支持的第一個(gè)字體,它嘗試下一個(gè)的字體。
你想要的字體類型如果瀏覽器找不到,它會(huì)從通用的字體類型中找到與你相似的:
下面是一些常用的字體組合,通用的字體系列。
Serif 字體
字體 | 文本示例 |
---|---|
Georgia, serif | This is a headingThis is a paragraph |
"Palatino Linotype", "Book Antiqua", Palatino, serif | This is a headingThis is a paragraph |
"Times New Roman", Times, serif | This is a headingThis is a paragraph |
sans - serif字體
字體 | 文本示例 |
---|---|
Arial, Helvetica, sans-serif | This is a headingThis is a paragraph |
Arial Black, Gadget, sans-serif | This is a headingThis is a paragraph |
"Comic Sans MS", cursive, sans-serif | This is a headingThis is a paragraph |
Impact, Charcoal, sans-serif | This is a headingThis is a paragraph |
"Lucida Sans Unicode", "Lucida Grande", sans-serif | This is a headingThis is a paragraph |
Tahoma, Geneva, sans-serif | This is a headingThis is a paragraph |
"Trebuchet MS", Helvetica, sans-serif | This is a headingThis is a paragraph |
Verdana, Geneva, sans-serif | This is a headingThis is a paragraph |
Monospace 字體
字體 | 文本示例 |
---|---|
"Courier New", Courier, monospace | This is a headingThis is a paragraph |
"Lucida Console", Monaco, monospace | This is a headingThis is a paragraph |
更多建議: