CSS样式类别列表

以下是常用的css样式类别列表:字体样式(font),文本样式(text),背景样式(background),盒样式(border),列表样式(ul,li).

字体样式font:

字体类型:font-family

字体大小:font-size

字体风格:font-style(斜体,正常体)

字体粗细:font-weight(粗,细)

字体颜色:color

字体行高:line-height

字间距:letter-spacing

文本样式text

行间距(字体行高):line-height

文本修饰:text-decoration(下划线,上划线,删除线)

水平对齐:text-align

垂直对齐:vertical-align

背景样式background:

背景颜色:background-color

背景图片:background-image

背景重复:background-repeat

背景定位:background-position

盒样式box:

外边距:margin

内边距:padding

边框宽度:border-width

边框颜色:border-color

边框风格:border-style

上边框:border-top

右边框:border-right

下边框:border-bottom

左边框:border-left

宽度:width

高度:height

漂浮:float

清除:clear

列表样式ul,li:

控制显示:display

符号列表:list-style-type

图形列表:list-style-image

位置列表:list-style-position

鼠标形状:cursor