.user-container{ 
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background: url("../../static/imgs/bgi.png") no-repeat;
background-size:cover;
}

.form {
  position: relative;
  height: 100vh;
  overflow-y: auto;
  width: 100%;
}
<div class="user-container">
  <div class=form>

  </div>
</div>
Logo

前往低代码交流专区

更多推荐