css 属性列表 属性名称 字体属性(Font) font-family font-style font-variant font-weight font-size 颜色和背景属性 Color Background-color Background-image Background-repeat Background-attachment Background-position 文本属性 Word-spacing Letter-spacing Text-decoration Vertical-align Text-transform Text-align Text-indent Line-height 边距属性 Margin-top Margin-right Margin-bottom Margin-left 填充距属性 Padding-top 属性含义 使用什么字体 字体是否斜体 是否用小体大写 字体的粗细 字体的大小 定义前景色 定义背景色 定义背景图案 重复方式 设置滚动 初始位置 单词之间的间距 字母之间的间距 文字的装饰样式 垂直方向的位置 文本转换 对齐方式 首行的缩进方式 文本的行高 顶端边距 右侧边距 底端边距 左侧边距 顶端填充距 属性值 所有的字体 Normal、 italic、 oblique Normal、 small-caps Normal、 bold、 bolder、 lithter 等 Absolute-size、 relative-size、 length、percentage 等 颜色 颜色 路径 Repeat-x、 repeat-y、 no-repeat Scroll、 Fixed Percentage、 length、 top、 left、 right、 bottom 等 Normal 同上 None|underline|overlin