.login{
background-size:cover;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background: url("../../assets/login.png")no-repeat center center;
}
<div class="login"></div>
css背景图充满整个屏幕
猜你喜欢
转载自www.cnblogs.com/IT123/p/10882819.html
今日推荐
周排行