背景图像的高度和宽度
.class{
background: url("../images/icons/map.png") no-repeat center center/50px 50px fixed;
}
如何设置背景图片100高度
html {
background: url(images/bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}