.body{
position:fixed;
height:100%;
weight:100%;
background: url(../img/bg.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-color: blue;
}
如上述代码 背景图片并没有把body 填充满为什么?
此时body宽高 和浏览器视口一样大,且跟随变化.
背景图片为什么只有一半大.