属性 | 描述 |
background | 简写属性,作用是将背景属性设置在一个声明中。 |
background-attachment | 背景图像是否固定或者随着页面的其余部分滚动。 |
background-color | 设置元素的背景颜色。 |
background-image | 把图像设置为背景。 |
background-position | 设置背景图像的起始位置。 |
background-repeat | 设置背景图像是否及如何重复。 |
属性 | 描述 |
color | 设置文本颜色 |
direction | 设置文本方向 |
line-height | 设置行高 |
letter-spacing | 设置字符间距 |
text-align | 对齐元素中文本的首行 |
text-decoration | 向文本中添加修饰 |
text-indent | 缩进元素中文本的首行 |
text-shadow | 设置文本阴影 |
text-transform | 控制元素中的字母 |
unicode-bidi | 设置文本方向 |
white-space | 设置元素中空白的处理方式 |
word-spacing | 设置字间距 |
属性 | 描述 |
font | 简写属性.把所有针对字体的属性设置在一个声明中. |
font-family | 设置字体系列 |
font-size | 设置字体的尺寸 |
font-size-adjust | 当首选字体不可用是,对替换字体进行智能缩放 |
font-stretch | 对字体进行水平拉伸 |
font-style | 设置字体风格 |
font-variant | 以小型大写字体或正常字体显示文本 |
font-weight | 设置字体的粗细 |
属性 | 描述 |
list-style | 简写属性。用于把所有用于列表的属性设置于一个声明中。 |
list-style-image | 将图象设置为列表项标志。 |
list-style-position | 设置列表中列表项标志的位置。 |
list-style-type | 设置列表项标志的类型。 |
marker-offset |
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |