小悠学习——快乐工作,悠闲生活.超全的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 单位



测量单位值

单位 简介
% 百分比
in 英寸
cm 厘米
mm 毫米
em 1EM是等于当前字体大小。 2em意味着当前字体大小2倍。例如,如果一个元素是用12磅font-family显示,然后"EM"是24磅。 在CSS中"EM"是一个非常有用单位,因为它可以自动适应读者使用的font-family
ex 一个ex是字体的x高度(x -高度通常是大约一半的字体大小)
pt 1pt和1/72英寸相同
pc 1pc=12pt
px 像素(a dot on the computer screen)