說明:√屬性繼承 ×不繼承
[ ]為適應元素類型 無[ ]標出為所有元素
字體
√
Font-family√
Font-size 9 10 12 14 16 18 24 36 xx-small x-small small medium large x-large xx-large smaller larger
√
Color√
Font-style normal italic oblique
√
Line-height nomal
√
Font-weight normal bold bolder lighter 100 200 300 400 500 600 700 800 900
√
Text-transform capitalize uppercase lowercase none
√
Font-variant normal small-caps
×
Text-decoration none underline overline line-through blink
√
Font背景
×
Background-color×
Background×
Background-image×
Background-attachment fixed scroll
×
Background-repeat no-repeat repeat repeat-x repeat-y
×
Background-position[塊、替換]
區塊
√
Word-spacing normal[塊]
√
Letter-spacing normal
×
Vertical-align baseline sub super top text-top middle bottom text-bottom[內]
√
Text-align left right center justify[塊]
×
Text-indent[塊]
×
White-space normal pre nowrap[塊]
×
Display inline block list-item run-in compact marker table inline-table table-row-group table-header-ground table-footer-ground table-row table-column-ground table-column table-cell table-caption none
邊框
×
Border×
Border-top-color×
Border-top-style none solid dashed dotted double groove ridge inset outset
×
Border-top-width thin medium thick
×
Border-top-Right×
Border-top-Bottom×
Border-top-Left×
Border-top×
Border-right×
Border-bottom×
Border-left×
Border-color×
Border-style×
Border-width方框
×
Width auto px pt in cm mm pc em ex %[塊、替]
×
Height auto[塊、替]
×
Float left right none
×
Clear left right both none
×
Margin×
Margin-top×
Margin-right×
Margin-bottom×
Margin-left×
Padding×
Padding-top×
Padding-right×
Padding-bottom×
Padding-left列表
×
List-style-type disc circle square decimal lower-roman upper-roman lower-alpha upper-alpha onne[顯示值為list-item的元素]
×
List-style-Image[顯示值為list-item的元素]
×
List-style-position inside outside[顯示值為list-item的元素]
定位
×
Position absolute relative static
×
Visiblility123下一頁