content logo

Bootstrap Forms:

Bootstrap Glassy Login Form

To improve your website and engage visitors, you can use login forms. Most websites need a sign-in form because it allows the users to set their unique username and password. The Bootstrap Glassy Login Form is presented with great design and performance. This Glassy Login Form Code lets the users use their personal profile for a website, and other people cannot easily enter it. This CSS Login Form has a glassy design with a night theme. The background of this bootstrap is a sky full of stars and mountains. This code has an awesome design and can attract new audiences to your website easily.

As the HTML Form with Bootstrap shows, some yellow icons are placed at the top of the page. These icons are related to Facebook, Google, and Twitter. The sign-in title is white, and you can see two fields in the central part of the page. These fields are designed for username and password with icons. There is an option at the bottom of these sections for remembering the password. You can sign up easily if you don’t have an account by using the Bootstrap Login Form. The Bootstrap Form Codes are available for you from the link below.

#

Glassy Login Form Code

#

CSS Login Form

#

HTML Form with Bootstrap

#

Bootstrap Form Codes

#

Bootstrap Login Form

<!-- This script got from frontendfreecode.com -->
<div class="container">
    <div class="d-flex justify-content-center h-100">
        <div class="card">
            <div class="card-header">
                <h3>Sign In</h3>
                <div class="d-flex justify-content-end social_icon">
                    <span><i class="fab fa-facebook-square"></i></span>
                    <span><i class="fab fa-google-plus-square"></i></span>
                    <span><i class="fab fa-twitter-square"></i></span>
                </div>
            </div>
            <div class="card-body">
                <form>
                    <div class="input-group form-group">
                        <div class="input-group-prepend">
                            <span class="input-group-text"><i class="fas fa-user"></i></span>
                        </div>
                        <input type="text" class="form-control" placeholder="username" />
                    </div>
                    <div class="input-group form-group">
                        <div class="input-group-prepend">
                            <span class="input-group-text"><i class="fas fa-key"></i></span>
                        </div>
                        <input type="password" class="form-control" placeholder="password" />
                    </div>
                    <div class="row align-items-center remember"><input type="checkbox" />Remember Me</div>
                    <div class="form-group">
                        <input type="submit" value="Login" class="btn float-right login_btn" />
                    </div>
                </form>
            </div>
            <div class="card-footer">
                <div class="d-flex justify-content-center links">Don't have an account?<a href="#">Sign Up</a></div>
                <div class="d-flex justify-content-center">
                    <a href="#">Forgot your password?</a>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
html,
body {
    background-image: url("http://frontendfreecode.com/img/Elegant-Login-Page.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    font-family: "Numans", sans-serif;
}
.container {
    height: 100%;
    align-content: center;
}
.card {
    height: 370px;
    margin-top: auto;
    margin-bottom: auto;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.social_icon span {
    font-size: 60px;
    margin-left: 10px;
    color: #ffc312;
}
.social_icon span:hover {
    color: white;
    cursor: pointer;
}
.card-header h3 {
    color: white;
}
.social_icon {
    position: absolute;
    right: 20px;
    top: -45px;
}
.input-group-prepend span {
    width: 50px;
    background-color: #ffc312;
    color: black;
    border: 0 !important;
}
input:focus {
    outline: 0 0 0 0 !important;
    box-shadow: 0 0 0 0 !important;
}
.remember {
    color: white;
}
.remember input {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-right: 5px;
}
.login_btn {
    color: black;
    background-color: #ffc312;
    width: 100px;
}
.login_btn:hover {
    color: black;
    background-color: white;
}
.links {
    color: white;
}
.links a {
    margin-left: 4px;
}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<style>
html,
body {
    background-image: url("http://frontendfreecode.com/img/Elegant-Login-Page.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    font-family: "Numans", sans-serif;
}
.container {
    height: 100%;
    align-content: center;
}
.card {
    height: 370px;
    margin-top: auto;
    margin-bottom: auto;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.social_icon span {
    font-size: 60px;
    margin-left: 10px;
    color: #ffc312;
}
.social_icon span:hover {
    color: white;
    cursor: pointer;
}
.card-header h3 {
    color: white;
}
.social_icon {
    position: absolute;
    right: 20px;
    top: -45px;
}
.input-group-prepend span {
    width: 50px;
    background-color: #ffc312;
    color: black;
    border: 0 !important;
}
input:focus {
    outline: 0 0 0 0 !important;
    box-shadow: 0 0 0 0 !important;
}
.remember {
    color: white;
}
.remember input {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-right: 5px;
}
.login_btn {
    color: black;
    background-color: #ffc312;
    width: 100px;
}
.login_btn:hover {
    color: black;
    background-color: white;
}
.links {
    color: white;
}
.links a {
    margin-left: 4px;
}
</style>

</head>
<body>
<div class="container">
    <div class="d-flex justify-content-center h-100">
        <div class="card">
            <div class="card-header">
                <h3>Sign In</h3>
                <div class="d-flex justify-content-end social_icon">
                    <span><i class="fab fa-facebook-square"></i></span>
                    <span><i class="fab fa-google-plus-square"></i></span>
                    <span><i class="fab fa-twitter-square"></i></span>
                </div>
            </div>
            <div class="card-body">
                <form>
                    <div class="input-group form-group">
                        <div class="input-group-prepend">
                            <span class="input-group-text"><i class="fas fa-user"></i></span>
                        </div>
                        <input type="text" class="form-control" placeholder="username" />
                    </div>
                    <div class="input-group form-group">
                        <div class="input-group-prepend">
                            <span class="input-group-text"><i class="fas fa-key"></i></span>
                        </div>
                        <input type="password" class="form-control" placeholder="password" />
                    </div>
                    <div class="row align-items-center remember"><input type="checkbox" />Remember Me</div>
                    <div class="form-group">
                        <input type="submit" value="Login" class="btn float-right login_btn" />
                    </div>
                </form>
            </div>
            <div class="card-footer">
                <div class="d-flex justify-content-center links">Don't have an account?<a href="#">Sign Up</a></div>
                <div class="d-flex justify-content-center">
                    <a href="#">Forgot your password?</a>
                </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