body,html{ height:100%; } body{ background-image:url(../image/Loginbeijing.png); background-size:100% 100%; background-repeat:no-repeat; }
css样式,加上面代码;
body,html{ height:100%; } body{ background-image:url(../image/Loginbeijing.png); background-size:100% 100%; background-repeat:no-repeat; }
css样式,加上面代码;
转载于:https://www.cnblogs.com/xingyue1988/p/6552580.html