css属性列表 属性名称字体属性(Font)font-familyfont-stylefont-variantfont-weightfont-size颜色和背景属性ColorBackground-colorBackground-imageBackground-repeatBackground-attachmentBackground-position文本属性Word-spacingLetter-spacingText-decorationVertical-alignText-transformText-alignText-indentLine-height边距属性Margin-topMargin-rightMargin-bottomMargin-left填充距属性Padding-topPadding-rightPadding-bottomPadding-left边框属性Border-top-widthBorder-right-widthBorder-bottom-widthBorder-left-widthBorder-width Border-colorBorder-styleBorder-topBorder-rightBorder-bottomBorder-left边框位置属性WidthHeightFloatClear 分级属性DisplayWhite-space List-style-typeList-style-imageList-style-positionList-style鼠标(Cursor)属性 属性含义使用什么字体 字体是否斜体是否用小体大写字体的粗细字体的大小定义前景色定义背景色定义背景图案重复方式设置滚动初始位置单词之间的间距字母之间的间距文字的装饰样式垂直方向的位置文本转换对齐方式首行的缩进方式文本的行高顶端边距右侧边距底端边距左侧边距顶端填充距右侧填充距底端填充距左侧填充距顶端边框宽度右侧边框宽度底端边框宽度左侧边框宽度一次定义宽度设置边框颜色设置边框样式一次定义顶端一次定义右侧一次定义底端一次定义左侧定义宽度属性定义高度属性文字环绕哪一边环绕定义是否显示怎样处理空白加项目编号加图案第二行起始位置一次定义列表自动定位“十”字默认指针手形移动箭头朝右方箭头朝右上方箭头朝左上方箭头朝上方箭头朝右下方箭头朝左下方箭头朝下方箭头朝左方文本“I”形等待帮助 属性值所有的字体Normal、italic(斜体)、oblique(倾斜)Normal、small-capsNormal、bold、bolder、lithter等Absolute-size(绝对大小)、relative-size(相对大小)、length、percentage(百分比)等颜色颜色路径Repeat-x、repeat-y、no-repeatScroll、FixedPercentage、length、top、left、right、bottom等Normal <length>同上None|underline|overline|line-through(删除线)|blink(闪烁)Baseline|sub|super|top|text-top|middle|bottom|text-bottom|Capitalize(首字母大写)|uppercase(所有字母大写)|lowercase(所有字母小写)|noneLeft|right|center|justify<length>|<percentage>Normal|<number>|<length>|<percentage>Length|percentage|auto同上同上同上Length|percentage同上同上同上Thin|medium|thick|length同上同上同上同上ColorNone|dotted|dash|solid等Border-top-width|color等同上同上同上Length|percentage|autoLength|autoLeft|right|noneLeft|right|none|bothBlock、inline、list-item、noneNormal、pre、nowrapDisc、circle、square等<url>|noneInside、outside<keyword>|<position> |<url>AutoCrosshair DefaultHandMovee-resizeNe-resize Nw-resizen-resizeSe-resizeSw-resizes-resizew-resizeTextWaitHelp