.login { display: flex; justify-content: center; align-items: center; } .form { width: 240px; } .formGroup { margin: 20px 0; } .btn { float: right; }