.details .background{
background-image: url('http://bmob-cdn-18655.b0.upaiyun.com/2018/05/20/0c576365406a8f4d8066aa2b1146199b.png');
background-repeat: no-repeat;
background-size: 350rpx;
background-position-y: center;
background-position-x: center;
}
1.background-color:指定背景的颜色。取值:正常的颜色取值。
2.background-image:背景图片。如果设置了这个属性,最好也添加下background-color ,用于当背景image不可见时保持与文本颜色有一定的对比度
3.background-repeat:设置对象背景图如何铺排填充。
repeat-x:背景在横向上平铺。
repeat-y:背景在纵向上平铺。
repeat:背景图在横向纵向上平铺。
no-repeat:图像不平铺。
round:背景图像自动缩放直到适应且填充整个容器。
space:背景图像以相同的间距平铺且填充满整个容器或者某个方向。
4.background-attachment:指定对象的背景图像是随对象内容滚动还是