日期:2014-05-17  浏览次数:20669 次

CSS样式参考手册
Name Values Initial value Applies to
(Default: all) Inherited? Percentages
(Default: N/A) Media groups
azimuth <angle> | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | inherit center ? yes ? aural
background [background-color || background-image || background-repeat || background-attachment || background-position ] | inherit XX ? no allowed on background-position visual
background-attachment scroll | fixed | inherit scroll ? no ? visual
background-color <color> | transparent | inherit transparent ? no ? visual
background-image <uri> | none | inherit none ? no ? visual
background-position [ [<percentage> | <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit 0% 0% block-level and replaced elements no refer to the size of the box itself visual
background-repeat repeat | repeat-x | repeat-y | no-repeat | inherit repeat ? no ? visual
border [ border-width || border-style || <color> ] | inherit see individual properties ? no ? visual
border-collapse collapse | separate | inherit collapse table and inline-table elements yes ? visual
border-color <color> {1,4} | transparent | inherit see individual properties ? no ? visual
border-spacing <length> <length> ? | inherit 0 table and inline-table elements yes ? visual
border-style <border-style> {1,4} | inherit see individual properties ? no ? visual
border-top border-right border-bottom border-left [ border-top-width || border-style || <color> ] | inherit see individual properties ? no ? visual
border-top-color border-right-color border-bottom-color border-left-color <color> | inherit the value of the color property ? no ? visual
border-top-style border-right-style border-bottom-style border-left-style