父盒子
.login{
position: absolute;
width: 100%;
height: 100%;
background-color:cyan;
}
子盒子
.loginForm{
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background-color:#ffffff;
width: 400px;
height: 300px;
margin: auto;
}