废话不说,直接放代码~~嘻嘻~
html部分:
<div class=''login-container''></div>
css部分:
.login-container {
position: fixed;
height: 100%;
width: 100%;
background: url('图片路径‘) no-repeat center;
background-size: cover;
}
直接复制即可完美实现~喵喵喵
废话不说,直接放代码~~嘻嘻~
html部分:
<div class=''login-container''></div>
css部分:
.login-container {
position: fixed;
height: 100%;
width: 100%;
background: url('图片路径‘) no-repeat center;
background-size: cover;
}
直接复制即可完美实现~喵喵喵