.login-box { position: absolute; border: solid #E3EAE7 1px; top: 50%; left: 50%; margin: -100px 0 0 -150px; 300px; height: 200px; padding: 10px; } <div class="login-box"> </div>
.login-box { position: absolute; border: solid #E3EAE7 1px; top: 50%; left: 50%; margin: -100px 0 0 -150px; 300px; height: 200px; padding: 10px; } <div class="login-box"> </div>