"Loign & Registation Form"
Bootstrap 4.1.1 Snippet by MairajUrRehman

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container mt-5"> <div class="row justify-content-center"> <div class="col-md-6 col-lg-5 mt-5"> <div class="card border-navel shadow"> <div class="card-header text-center bg-navel border-danger"> <h3 class="font-weight-bold text-white">Login</h3> </div> <div class="card-body mt-4 mb-2"> <form> <div class="form-group"> <label for="email" class="col-md-4 col-form-label text-md-left">E-Mail</label> <input id="email" type="email" class="form-control col-md-12" name="email" required autofocus> </div> <div class="form-group"> <label for="password" class="col-md-4 col-form-label text-md-left">Password</label> <input id="password" type="password" class="form-control col-md-12" name="password" required> </div> <div class="form-group"> <div class="form-check"> <input class="form-check-input" type="checkbox" name="remember" id="remember"> <label class="form-check-label" for="remember"> Remember Me </label> </div> </div> <div class=" text-center mt-5"> <button type="submit" class="btn btn-navel text-light col-md-5"> Login </button> </div> <div class="text-center"> <a class="btn btn-link" href="#"> Register Here If Don't Have Account? </a> </div> </form> </div> </div> </div> <div class="col-md-6 col-lg-5"> <div class="card border-navel shadow"> <div class="card-header text-center bg-navel border-danger"> <h3 class="font-weight-bold text-white">Registration</h3> </div> <div class="card-body mt-2 mb-2"> <form> <div class="form-group"> <label for="username" class="col-md-4 col-form-label text-md-left">User Name</label> <input id="username" type="text" class="form-control col-md-12" name="username" required> </div> <div class="form-group"> <label for="email" class="col-md-4 col-form-label text-md-left">E-Mail</label> <input id="email" type="email" class="form-control col-md-12" name="email" required> </div> <div class="form-group"> <label for="password" class="col-md-4 col-form-label text-md-left">Password</label> <input id="password" type="password" class="form-control col-md-12" name="password" required> </div> <div class="form-group"> <label for="confirmPassword" class="col-md-6 col-form-label text-md-left">Confirm Password</label> <input id="confirmPassword" type="password" class="form-control col-md-12" name="confirmPassword" required> </div> <div class="form-group"> <div class="form-check"> <input class="form-check-input" type="checkbox" name="remember" id="remember"> <label class="form-check-label" for="remember"> Remember Me </label> </div> </div> <div class=" text-center mt-2"> <button type="submit" class="btn btn-navel text-light col-md-5"> Login </button> </div> <div class="text-center"> <a class="btn btn-link" href="#"> Login Here If You Account? </a> </div> </form> </div> </div> </div> </div> </div>
.bg-navel{ background-color:#40739e; } .border-navel{ border-color:#40739e; } .btn-navel{ background-color:#40739e; }

Related: See More


Questions / Comments: