CSS 参考手册 CSS 背景属性 属性 描述 值 background 简写属性,作用是将背景属性设置在一个声明中
background-color background-image background-repeat background-attachment background-position background-attachment 设置是否背景图像是固定的或随页面其余部分滚动
scroll fixed background-color 设置元素的背景颜色
color-rgb color-hex color-name transparent background-image 将图像设置为背景
url none background-position 设置背景图像的起始位置
top left top center top right center left center center center right bottom left bottom center bottom right x-% y-% x-pos y-pos background-repeat 设置背景图像是否及如何重复
repeat repeat-x repeat-y no-repeat CSS 边框属性(border) 属性 描述 值 border 简写属性
作用是在一个声明中用来设置四个边框的所有属性
border-width border-style border-color border-bottom 简写属性
作用是在一个声明中用来设置底边框的所有属性
border-bottom-width border-style border-color border-bottom-color 设置底边框的颜色
border-color border-bottom-style