小悠学习——快乐工作,悠闲生活.超全的IT开发手册!
HTML CSS JAVASCRIPT SQL PHP BOOTSTRAP JQUERY ANGULAR XML
×

CSS 参考手册

CSS 参考手册 CSS 选择器 CSS 语音参考 CSS Web安全字体组合 CSS 单位 CSS 颜色 CSS 合法颜色值 CSS 颜色名称 CSS 颜色十六进制值 CSS3 浏览器支持参考手册

CSS 属性

CSS align-content CSS align-items CSS align-self CSS3 animation CSS3 animation-delay CSS3 animation-direction CSS3 animation-duration CSS3 animation-fill-mode CSS3 animation-iteration-count CSS3 animation-name CSS3 animation-play-state CSS3 animation-timing-function CSS3 appearance CSS3 backface-visibility CSS background CSS background-attachment CSS3 background-clip CSS background-color CSS background-image CSS3 background-origin CSS background-position CSS background-repeat CSS3 background-size CSS border CSS border-bottom CSS border-bottom-color CSS3 border-bottom-left-radius CSS3 border-bottom-right-radius CSS border-bottom-style CSS border-bottom-width CSS border-collapse CSS border-color CSS3 border-image CSS3 border-image-outset CSS3 border-image-repeat CSS3 border-image-slice CSS3 border-image-source CSS3 border-image-width CSS border-left CSS border-left-color CSS border-left-style CSS border-left-width CSS3 border-radius CSS border-right CSS border-right-color CSS border-right-style CSS border-right-width CSS border-spacing CSS border-style CSS border-top CSS border-top-color CSS3 border-top-left-radius CSS3 border-top-right-radius CSS border-top-style CSS border-top-width CSS border-width CSS bottom CSS3 box-align CSS3 box-direction CSS3 box-flex CSS3 box-flex-group CSS3 box-lines CSS3 box-ordinal-group CSS3 box-orient CSS3 box-pack CSS3 box-shadow CSS3 box-sizing CSS caption-side CSS clear CSS clip CSS color CSS3 column-count CSS3 column-fill CSS3 column-gap CSS3 column-rule CSS3 column-rule-color CSS3 column-rule-style CSS3 column-rule-width CSS3 column-span CSS3 column-width CSS3 columns CSS content CSS counter-increment CSS counter-reset CSS cursor CSS direction CSS display CSS empty-cells CSS flex CSS flex-basis CSS flex-direction CSS flex-flow CSS flex-grow CSS flex-shrink CSS flex-wrap CSS float CSS font CSS3 @font-face 规则 CSS font-family CSS font-size CSS3 font-size-adjust Property CSS3 font-stretch CSS font-style CSS font-variant CSS font-weight CSS3 grid-columns CSS3 grid-rows CSS3 hanging-punctuation CSS height CSS3 icon CSS justify-content CSS3 @keyframes 规则 CSS left CSS letter-spacing CSS line-height CSS list-style CSS list-style-image CSS list-style-position CSS list-style-type CSS margin CSS margin-bottom CSS margin-left CSS margin-right CSS margin-top CSS max-height CSS max-width CSS min-height CSS min-width CSS3 nav-down CSS3 nav-index CSS3 nav-left CSS3 nav-right CSS3 nav-up CSS3 opacity Property CSS order CSS outline CSS outline-color CSS3 outline-offset CSS outline-style CSS outline-width CSS overflow CSS3 overflow-x CSS3 overflow-y CSS padding CSS padding-bottom CSS padding-left CSS padding-right Property CSS padding-top CSS page-break-after CSS page-break-before CSS page-break-inside CSS3 perspective CSS3 perspective-origin CSS position CSS3 punctuation-trim CSS quotes CSS3 resize CSS right CSS3 rotation CSS tab-size CSS table-layout CSS3 target CSS3 target-name CSS3 target-new CSS3 target-position CSS text-align CSS text-align-last CSS text-decoration CSS text-decoration-color CSS text-decoration-line CSS text-decoration-style CSS text-indent CSS3 text-justify CSS3 text-outline CSS3 text-overflow CSS3 text-shadow CSS text-transform CSS3 text-wrap CSS top CSS3 transform CSS3 transform-origin CSS3 transform-style CSS3 transition CSS3 transition-delay CSS3 transition-duration CSS3 transition-property CSS3 transition-timing-function CSS unicode-bidi CSS vertical-align CSS visibility CSS white-space CSS width CSS3 word-break CSS word-spacing CSS3 word-wrap CSS z-index CSS3 @media 查询
 

CSS Web安全字体组合



常用的字体组合

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