背景--background
1,背景颜色
background-color:颜色;简写为 background:颜色;
2,背景图片
background-image:url(“路径”)简写为background:url(“路径”)
3,背景平铺
1)平铺 浏览器默认
2)不平铺 background-repeat:no-repeat
3)只平铺X轴 background-repeat:repeat-x
4)只平铺Y轴 background-repeat:repeat-y
4,背景大小
background-size:数字px 数字px auto自适应
5,背景位置
background-position:__px __px/__% __%/英文 x轴向右为正,y轴向下为正
*背景简写
background:颜色 图片 平铺 位置
边框---border
边框简写: border:颜色 粗细 样式
边框圆角:border:数字/百分比