CSS 学习 (2)

来源:互联网 发布:加工中心倒角怎么编程 编辑:程序博客网 时间:2024/05/16 03:54

CSS样式属性大体可以分为:字体,背景,文本,位置,布局,边缘,列表,其他。

1. 字体
font-family, font-size, font-style, text-decoration, font-weight, font-variant, text-transform, color

2. 背景
background-color, background-image, background-repeat, background-attachment, background-position

3. 文本
word-spacing, letter-spacing, vertical-align, text-align, text-indent, white-space, line-height

4. 位置
position

5. 布局
visibility, display, chip, overflow, float, clear, page-break-before, page-break-after

6. 边缘
margin, padding, width, color, style

7. 列表
list-style-type, list-style-image, list-style-position

8. 其他
cursor, filter

原创粉丝点击