版权声明:转载请注明:http://blog.csdn.net/update7?viewmode=contents https://blog.csdn.net/update7/article/details/80616742
html, body {
margin:0;
padding:0;
}
.container {
height:100%;width:100%;/*width: 100%;*/
border: 1px solid green;
position:fixed;
background: url(image/login.jpg) no-repeat;text-align:center;
}
要铺满的div加class="container"