css属性列表 和 属性值含义

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

css属性列表和属性值含义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

Margin 属性含义

使用什么字体

字体是否斜体

是否用小体大

字体的粗细

字体的大小

定义前景色

定义背景色

定义背景图案

重复方式

设置滚动

初始位置

单词之间的间

字母之间的间

文字的装饰样

垂直方向的位

文本转换

对齐方式

首行的缩进方

文本的行高

分别设置上右

下左,一个值

属性值

所有的字体

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|overline|line-

through|blink

Baseline|sub|super|top|text-top|middl

e|bottom|text-bottom|

Capitalize|uppercase|

lowercase|none

Left|right|center|justify

|

Normal|||

Length|percentage|auto

同上

同上

同上

填充距属性Padding-top Padding-right Padding-bottom Padding-left Padding

边框属性

Border-top-width Border-right-width Border-bottom-width Border-left-width Border-width Border-color Border-style Border-top

Border-right

Border-bottom Border-left

Width

Height

Float

Clear

分级属性

Display

White-space

List-style-type

List-style-image

List-style-position List-style

鼠标(Cursor)属性设置全部

顶端边距

右侧边距

底端边距

左侧边距

同Margin

顶端填充距

右侧填充距

底端填充距

左侧填充距

顶端边框宽度

右侧边框宽度

底端边框宽度

左侧边框宽度

一次定义宽度

设置边框颜色

设置边框样式

一次定义顶端

一次定义右侧

一次定义底端

一次定义左侧

定义宽度属性

定义高度属性

文字环绕

哪一边环绕

定义是否显示

怎样处理空白

加项目编号

加图案

第二行起始位

一次定义列表

自动

定位“十”字

默认指针

Length|percentage

同上

同上

同上

同Margin

Thin|medium|thick|length

同上

同上

同上

同上

Color

None|dotted|dashed|dash|solid|doubl

e|groove|ridge|inset|outset等

Border-top-width|color等

同上

同上

同上

Length|percentage|auto

Length|auto

Left|right|none

Left|right|none|both

Block、inline、list-item、none

Normal、pre、nowrap

Disc、circle、square等

|none

Inside、outside

| |

Auto

Crosshair

Default

Hand

Move

e-resize

Ne-resize

Nw-resize

n-resize

相关文档
最新文档