使用Dreamweaver来详细了解CSS的多样性-Dreamweaver教程
2024-09-12 12:30:34
供稿:网友
说明:√属性继续 ×不继续
[ ]为适应元素类型 无[ ]标出为所有元素
字体
√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|||
×visiblility visible hidden inherit
×height auto
×left auto
×top auto
×right auto
×bottom auto
×z-index auto[定位元素]
×overflow visible hidden scroll auto[块、替]
×clip auto