背景图像
属性: Backguround-clip:
1、border-box(背景被裁剪到边框盒) -- 默认值
2、Padding-box(背景被裁剪到内边距框)
3、Content-box(背景被裁减到内容框)
定位: background-origin:设置元素背景图像得原始起始位置
Background-position:2个值: 水平盒垂直得偏移量
三个属性值: 1、padding-box : 相对于内边距位置开始得左上角得偏移量 -- 默认值
2、Border-box : 相对于边框位置开始得左上角得偏移量
3、Content-box : 相对于内容位置开始得左上角得偏移量
背景图像大小:语法:length/百分比/cover/contain/auto(默认值) -- 一般情况下2 个值:第一个宽度 第二个高度 如果第 二个不设置,默认是auto