![](https://csdnimg.cn/release/download_crawler_static/87170718/bg1.jpg)
更多尽在:http://daodaofeiyu.blogbus.com
CSS 背景属性(Background)
属性
background
描述
在一个声明中设置所有的背景属性。
CSS
1
1background-attachment 设置背景图像是否固定或者随着页面的其余部分
滚动。
background-color
background-image
background-position
background-repeat
设置元素的背景颜色。
设置元素的背景图像。
设置背景图像的开始位置。
设置是否及如何重复背景图像。
1
1
1
1
CSS 边框属性(Border 和 Outline)
属性
border
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-color
border-left
border-left-color
border-left-style
border-left-width
border-right
border-right-color
描述
在一个声明中设置所有的边框属性。
在一个声明中设置所有的下边框属性。
设置下边框的颜色。
设置下边框的样式。
设置下边框的宽度。
设置四条边框的颜色。
在一个声明中设置所有的左边框属性。
设置左边框的颜色。
设置左边框的样式。
设置左边框的宽度。
在一个声明中设置所有的右边框属性。
设置右边框的颜色。
CSS
1
1
2
2
1
1
1
2
2
1
1
2
更多尽在:http://daodaofeiyu.blogbus.com