content logo

Bootstrap Forms:

Simple Stylish Login Form with Bootstrap

Most advanced websites have a login form and allow the users to enter their accounts. We suggest that you use a beautiful login form for your website to gain more visitors. It is better to consider the design of this form to fit with the theme of your website. You can see the Simple Stylish Login Form with Bootstrap in this post with an attractive design. This Simple Form Code has a good performance and an eye-catching appearance. Using this form can change your website quickly. This HTML Login Form Code has a blue theme that can attract anyone’s attention.

As the following preview shows, the login title is presented with an icon at the top of the image in white color. This Bootstrap Stylish Form Code has two fields for adding the username and password. These parts have their specific icons. At the bottom of these fields, you can see a link that you can select and reset your password if you forget it. The login confirmation of this Beautiful CSS Login Form is placed in a blue section, and the writing is white. Plus, if you did not sign up now, you can do this by clicking on the “Create Now” option.

#

Simple Form Code

#

Bootstrap Stylish Form Code

#

HTML Login Form Code

#

Beautiful CSS Login Form

<!-- This script got from frontendfreecode.com -->
<div class="form-bg">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-4 col-md-4 col-sm-offset-3 col-sm-6">
                <div class="form-container">
                    <div class="form-icon">
                        <i class="fa fa-user-edit"></i>
                    </div>
                    <h3 class="title">User Login</h3>
                    <form class="form-horizontal">
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-user"></i></span>
                            <input class="form-control" type="email" placeholder="Username" />
                        </div>
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-lock"></i></span>
                            <input class="form-control" type="password" placeholder="Password" />
                        </div>
                        <span class="forgot-pass"><a href="#">Forgot Password ?</a></span>
                        <button class="btn signin">Login</button>
                    </form>
                    <span class="user-signup">Don't Have an Account? <a href="#">Create Now !</a></span>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    background: #e7e7e7;
    margin: 20px;
}
.form-container {
    background-color: #fff;
    font-family: "Titillium Web", sans-serif;
    padding: 25px 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.form-container:before {
    content: "";
    background: radial-gradient(at 50% 25%, #1093ea 0%, #007bb7 100%);
    height: 70%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 75%);
}
.form-container .form-icon {
    color: #fff;
    font-size: 55px;
    line-height: 55px;
    text-align: center;
    margin: 0 0 10px;
}
.form-container .title {
    color: #fff;
    font-size: 33px;
    font-weight: 500;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin: 0 0 25px;
}
.form-container .form-horizontal {
    background: #fff;
    padding: 10px;
    margin: 0 0 20px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.form-horizontal .form-group {
    background-color: #fff;
    margin: 0 0 15px;
    border-radius: 3px;
    border-bottom: 1px solid #ddd;
}
.form-horizontal .form-group:nth-child(3) {
    margin-bottom: 40px;
}
.form-horizontal .input-icon {
    color: #007bb7;
    font-size: 22px;
    text-align: center;
    line-height: 43px;
    height: 45px;
    width: 25px;
    margin: 0 0 0 4px;
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .form-control {
    color: #555;
    background-color: transparent;
    font-size: 20px;
    letter-spacing: 1px;
    width: calc(100% - 33px);
    height: 45px;
    padding: 0 5px;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: inline-block;
    transition: all 0.3s;
}
.form-horizontal .form-control:focus {
    box-shadow: none;
    border: none;
}
.form-horizontal .form-control::placeholder {
    color: #999;
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
}
.form-horizontal .forgot-pass {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 15px 0;
    display: block;
}
.form-horizontal .forgot-pass a {
    color: #007bb7;
    transition: all 0.3s ease 0s;
}
.form-horizontal .forgot-pass a:hover {
    color: #555;
}
.form-horizontal .btn {
    color: #fff;
    background: #007bb7;
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    width: 100%;
    padding: 5px 15px 5px;
    margin: 0;
    border: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.form-horizontal .btn:hover,
.form-horizontal .btn:focus {
    color: #fff;
    background-color: #007bb7;
    letter-spacing: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.3) inset;
    outline: none;
}
.form-container .user-signup {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: block;
}
.form-container .user-signup a {
    color: #007bb7;
    transition: all 0.3s ease 0s;
}
.form-container .user-signup a:hover {
    color: #555;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css">
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css">
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
body {
    background: #e7e7e7;
    margin: 20px;
}
.form-container {
    background-color: #fff;
    font-family: "Titillium Web", sans-serif;
    padding: 25px 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.form-container:before {
    content: "";
    background: radial-gradient(at 50% 25%, #1093ea 0%, #007bb7 100%);
    height: 70%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 75%);
}
.form-container .form-icon {
    color: #fff;
    font-size: 55px;
    line-height: 55px;
    text-align: center;
    margin: 0 0 10px;
}
.form-container .title {
    color: #fff;
    font-size: 33px;
    font-weight: 500;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin: 0 0 25px;
}
.form-container .form-horizontal {
    background: #fff;
    padding: 10px;
    margin: 0 0 20px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.form-horizontal .form-group {
    background-color: #fff;
    margin: 0 0 15px;
    border-radius: 3px;
    border-bottom: 1px solid #ddd;
}
.form-horizontal .form-group:nth-child(3) {
    margin-bottom: 40px;
}
.form-horizontal .input-icon {
    color: #007bb7;
    font-size: 22px;
    text-align: center;
    line-height: 43px;
    height: 45px;
    width: 25px;
    margin: 0 0 0 4px;
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .form-control {
    color: #555;
    background-color: transparent;
    font-size: 20px;
    letter-spacing: 1px;
    width: calc(100% - 33px);
    height: 45px;
    padding: 0 5px;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: inline-block;
    transition: all 0.3s;
}
.form-horizontal .form-control:focus {
    box-shadow: none;
    border: none;
}
.form-horizontal .form-control::placeholder {
    color: #999;
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
}
.form-horizontal .forgot-pass {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 15px 0;
    display: block;
}
.form-horizontal .forgot-pass a {
    color: #007bb7;
    transition: all 0.3s ease 0s;
}
.form-horizontal .forgot-pass a:hover {
    color: #555;
}
.form-horizontal .btn {
    color: #fff;
    background: #007bb7;
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
    width: 100%;
    padding: 5px 15px 5px;
    margin: 0;
    border: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.form-horizontal .btn:hover,
.form-horizontal .btn:focus {
    color: #fff;
    background-color: #007bb7;
    letter-spacing: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.3) inset;
    outline: none;
}
.form-container .user-signup {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: block;
}
.form-container .user-signup a {
    color: #007bb7;
    transition: all 0.3s ease 0s;
}
.form-container .user-signup a:hover {
    color: #555;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
</style>

</head>
<body>
<div class="form-bg">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-4 col-md-4 col-sm-offset-3 col-sm-6">
                <div class="form-container">
                    <div class="form-icon">
                        <i class="fa fa-user-edit"></i>
                    </div>
                    <h3 class="title">User Login</h3>
                    <form class="form-horizontal">
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-user"></i></span>
                            <input class="form-control" type="email" placeholder="Username" />
                        </div>
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-lock"></i></span>
                            <input class="form-control" type="password" placeholder="Password" />
                        </div>
                        <span class="forgot-pass"><a href="#">Forgot Password ?</a></span>
                        <button class="btn signin">Login</button>
                    </form>
                    <span class="user-signup">Don't Have an Account? <a href="#">Create Now !</a></span>
                </div>
            </div>
        </div>
    </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview