"Bootstrap Login Cards"
Bootstrap 4.1.1 Snippet by cleudiney

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row m-4"> <div class="col-4"> <div class="login-card-purple p-3 shadow-lg rounded"> <div class="pt-3"> <h2 class="text-white ">Sign In | Purple</h2> </div> <form class="mt-5"> <div class="form-group"> <input type="email" class="form-control form-control-sm bg-light" placeholder="Email Id"> </div> <div class="form-group"> <input type="password" class="form-control form-control-sm bg-light" placeholder="Password"> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="rememberCheckBox"> <label class="form-check-label text-light" for="rememberCheckBox">Remember me?</label> </div> <div class="mt-5"> <button class="btn btn-sm btn-light col"> Login </button> </div> <div class="text-center mt-2"> <a href="#" class="text-warning">Forgot Password?</a> </div> <div class="mt-5"> <p class="text-white text-center"> Don't have an account? <a href="#" class="text-warning">Click here to register</a> </p> </div> </form> </div> </div> <div class="col-4"> <div class="login-card-light p-3 shadow-lg rounded"> <div class="pt-3"> <h2 class="text-danger">Sign In | Light</h2> </div> <form class="mt-5"> <div class="form-group"> <input type="email" class="form-control form-control-sm" placeholder="Email Id"> </div> <div class="form-group"> <input type="password" class="form-control form-control-sm" placeholder="Password"> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="rememberCheckBox"> <label class="form-check-label text-dark" for="rememberCheckBox">Remember me?</label> </div> <div class="mt-5"> <button class="btn btn-sm btn-danger col"> Login </button> </div> <div class="text-center mt-2"> <a href="#">Forgot Password?</a> </div> <div class="mt-5"> <p class="text-center"> Don't have an account? <a href="#">Click here to register</a> </p> </div> </form> </div> </div> <div class="col-4"> <div class="login-dark p-3 shadow-lg rounded"> <div class="pt-3"> <h2 class="text-white ">Sign In | Dark</h2> </div> <form class="mt-5"> <div class="form-group"> <input type="email" class="form-control form-control-sm bg-light" placeholder="Email Id"> </div> <div class="form-group"> <input type="password" class="form-control form-control-sm bg-light" placeholder="Password"> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="rememberCheckBox"> <label class="form-check-label text-light" for="rememberCheckBox">Remember me?</label> </div> <div class="mt-5"> <button class="btn btn-sm btn-light col"> Login </button> </div> <div class="text-center mt-2"> <a href="#" class="text-warning">Forgot Password?</a> </div> <div class="mt-5"> <p class="text-white text-center"> Don't have an account? <a href="#" class="text-warning">Click here to register</a> </p> </div> </form> </div> </div> </div> <div class="row m-4"> <div class="col-4"> <div class="login-blue p-3 shadow-lg rounded"> <div class="pt-3"> <h2 class="text-white ">Sign In | Blue</h2> </div> <form class="mt-5"> <div class="form-group"> <input type="email" class="form-control form-control-sm bg-light" placeholder="Email Id"> </div> <div class="form-group"> <input type="password" class="form-control form-control-sm bg-light" placeholder="Password"> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="rememberCheckBox"> <label class="form-check-label text-light" for="rememberCheckBox">Remember me?</label> </div> <div class="mt-5"> <button class="btn btn-sm btn-light col"> Login </button> </div> <div class="text-center mt-2"> <a href="#" class="text-warning">Forgot Password?</a> </div> <div class="mt-5"> <p class="text-white text-center"> Don't have an account? <a href="#" class="text-warning">Click here to register</a> </p> </div> </form> </div> </div> <div class="col-4"> <div class="login-card-yellow p-3 shadow-lg rounded"> <div class="pt-3"> <h2 class="text-dark">Sign In | Yellow</h2> </div> <form class="mt-5"> <div class="form-group"> <input type="email" class="form-control form-control-sm bg-light" placeholder="Email Id"> </div> <div class="form-group"> <input type="password" class="form-control form-control-sm bg-light" placeholder="Password"> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="rememberCheckBox"> <label class="form-check-label text-dark" for="rememberCheckBox">Remember me?</label> </div> <div class="mt-5"> <button class="btn btn-sm btn-light col"> Login </button> </div> <div class="text-center mt-2"> <a href="#">Forgot Password?</a> </div> <div class="mt-5"> <p class="text-center"> Don't have an account? <a href="#">Click here to register</a> </p> </div> </form> </div> </div> <div class="col-4"> <div class="login-purple-pink p-3 shadow-lg rounded"> <div class="pt-3"> <h2 class="text-white ">Sign In | Purple-Pink</h2> </div> <form class="mt-5"> <div class="form-group"> <input type="email" class="form-control form-control-sm bg-light" placeholder="Email Id"> </div> <div class="form-group"> <input type="password" class="form-control form-control-sm bg-light" placeholder="Password"> </div> <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="rememberCheckBox"> <label class="form-check-label text-light" for="rememberCheckBox">Remember me?</label> </div> <div class="mt-5"> <button class="btn btn-sm btn-light col"> Login </button> </div> <div class="text-center mt-2"> <a href="#" class="text-warning">Forgot Password?</a> </div> <div class="mt-5"> <p class="text-white text-center"> Don't have an account? <a href="#" class="text-warning">Click here to register</a> </p> </div> </form> </div> </div> </div> </div>
.login-card-purple { background: linear-gradient(145deg, #673AB7, #9C27B0); } .login-card-yellow { background: linear-gradient(145deg, #FFC107, #FFEB3B); } .login-card-light { background: linear-gradient(145deg, #eee, #fff); } .login-dark { background: linear-gradient(145deg, #575b5d, #252b2d); } .login-blue { background: linear-gradient(145deg, #2196F3, #3F51B5); } .login-purple-pink { background: linear-gradient(145deg, #3F51B5, #E91E63); } body { font-size: 13px; }

Related: See More


Questions / Comments: