"Aesthetic Good looking Login form"
Bootstrap 4.0.0 Snippet by bonifaceM

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/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 ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login Form</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <!-- Custome CSS --> <link rel="stylesheet" href="custome.css"> </head> <body> <div class="" style="margin-top: 150px;"></div> <div class="container"> <div class="row"> <div class="col-md-6"> <div class="card"> <div class="card-header"> <h5>Login Form</h5> </div> <div class="card-body"> <form action="" method="post"> <div class="input-group mb-3 input-group-sm"> <div class="input-group-prepend" style=""> <span class="input-group-text custome-css">User Name:</span> </div> <input type="text" class="form-control" placeholder="Enter username"> </div> <div class="input-group mb-1 input-group-sm"> <div class="input-group-prepend addon1"> <span class="input-group-text custome-css">Password:</span> </div> <input type="password" name="" id="" class="form-control" placeholder="Enter password"> </div> <hr> <p> <button type="submit" name="login" id="" class="btn btn-info btn-sm">Log In</button> <button type="clear" name="clear" id="" class="btn btn-outline-danger btn-sm" style="float:right;">Clear</button> </p> </form> </div> </div> </div> </div> </div> </body> </html>
/* input controls */ .custome-css { background-image: linear-gradient(to left, #8B008B , #E6E6FA); color:#fff !important; border: 1px solid purple !important; display:inline-block !important; width: 130px; text-align: right; } .form-control { border: 1px solid #A020F0!important; color:#A020F0!important; } /*card*/ .card-custome { margin-top: 5px; }

Related: See More


Questions / Comments: