content logo

Bootstrap Forms:

Bootstrap Turquoise Login Form with Social Buttons

You can use this code whenever you want a form with a turquoise theme. In this code there is an icon or a symbolic image at the top of the form. Below that, the title of the form, which is the login, is written in turquoise. The form itself has a turquoise color and its text fields have a turquoise icon. The login button is yellow and the social buttons are below the login.

#Bootstrap Free Form #Turquoise Login Form Code #HTML Form Code #Bootstrap Login Form #Login Form with Social Buttons

<!-- This script got from www.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"></i>
                    </div>
                    <h3 class="title">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>
                        <button class="btn signin">Login</button>
                        <div class="remember-me">
                            <input type="checkbox" />
                            <span>Remember Me</span>
                        </div>
                        <ul class="social-links">
                            <li>
                                <a href="#"><i class="fab fa-facebook"></i> Facebook</a>
                            </li>
                            <li>
                                <a href="#"><i class="fab fa-instagram"></i> Instagram</a>
                            </li>
                        </ul>
                        <span class="forgot-pass"><a href="#">Forgot your password?</a></span>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://www.frontendfreecode.com">Frontend Free Code</a>
                                                                            
body {
    background-color: #F9F9F9;
    margin: 20px;
}
.form-container {
    font-family: "Poppins", sans-serif;
}
.form-container .form-icon {
    color: rgba(255, 255, 255, 0.5);
    background-color: #07cbc9;
    font-size: 45px;
    text-align: center;
    line-height: 80px;
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid #049898;
    position: relative;
}
.form-container .form-icon:before,
.form-container .form-icon:after {
    content: "";
    background-color: #07cbc9;
    height: 2px;
    width: 100%;
    transform: translateY(-50%);
    position: absolute;
    left: -140%;
    top: 50%;
}
.form-container .form-icon:after {
    left: 140%;
}
.form-container .title {
    color: #07cbc9;
    font-size: 23px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}
.form-container .form-horizontal {
    background-color: #07cbc9;
    padding: 25px 20px 10px 20px;
    position: relative;
}
.form-container .form-horizontal:before {
    content: "";
    background: linear-gradient(-45deg, transparent 49%, #07cbc9 50%);
    height: 15px;
    width: 15px;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    left: 50%;
    top: -8px;
}
.form-horizontal .form-group {
    font-size: 0;
    margin: 0 0 15px;
}
.form-horizontal .input-icon {
    color: #fff;
    background-color: #079797;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    height: 45px;
    width: 55px;
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .form-control {
    color: #555;
    background-color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    width: calc(100% - 55px);
    height: 44px;
    padding: 2px 10px;
    box-shadow: 0 0 5px -3px #333;
    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: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    text-transform: capitalize;
}
.form-horizontal .btn {
    color: #fff;
    background-color: #fcc900;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100px;
    padding: 5px 18px;
    margin: 0 0 15px 0;
    border: none;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}
.form-horizontal .btn:hover,
.form-horizontal .btn:focus {
    color: #fff;
    background-color: #079797;
    box-shadow: 0 0 5px #555 inset;
}
.form-horizontal .remember-me {
    line-height: 15px;
    text-align: right;
    width: calc(100% - 105px);
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .remember-me input {
    background-color: #fff;
    height: 20px;
    width: 40px;
    margin: 0 0 -5px 0;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.form-horizontal .remember-me input:focus {
    outline: none;
}
.form-horizontal .remember-me input:not(:checked) {
    background-color: #fff;
}
.form-horizontal .remember-me input:checked {
    background-color: #079797;
}
.form-horizontal .remember-me input:before {
    content: "";
    background-color: #079797;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 2px;
    transition: left 0.3s ease;
}
.form-horizontal .remember-me input:checked:before {
    background-color: #fff;
    left: 22px;
}
.form-horizontal .social-links {
    padding: 0;
    margin: 0 0 10px;
    list-style: none;
    text-align: center;
}
.form-horizontal .social-links li {
    background-color: rgba(255, 255, 255, 0.5);
    width: 40%;
    padding: 5px;
    margin: 0 9% 0 0;
    display: inline-block;
}
.form-horizontal .social-links li:nth-child(2) {
    margin: 0 0 0 9%;
}
.form-horizontal .social-links li a {
    color: #fff;
    background-color: #079797;
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 5px;
    display: block;
    transition: all 0.3s ease;
}
.form-horizontal .social-links li a:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) inset;
}
.form-horizontal .forgot-pass {
    font-size: 12px;
    text-align: center;
    display: block;
}
.form-horizontal .forgot-pass a {
    color: #079797;
    transition: all 0.3s ease;
}
.form-horizontal .forgot-pass a:focus,
.form-horizontal .forgot-pass a:hover {
    text-decoration: underline;
}
@media only screen and (max-width: 576px) {
    .form-horizontal .social-links li,
    .form-horizontal .social-links li:nth-child(2) {
        width: auto;
        margin: 0;
    }
}
<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 www.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-color: #F9F9F9;
    margin: 20px;
}
.form-container {
    font-family: "Poppins", sans-serif;
}
.form-container .form-icon {
    color: rgba(255, 255, 255, 0.5);
    background-color: #07cbc9;
    font-size: 45px;
    text-align: center;
    line-height: 80px;
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid #049898;
    position: relative;
}
.form-container .form-icon:before,
.form-container .form-icon:after {
    content: "";
    background-color: #07cbc9;
    height: 2px;
    width: 100%;
    transform: translateY(-50%);
    position: absolute;
    left: -140%;
    top: 50%;
}
.form-container .form-icon:after {
    left: 140%;
}
.form-container .title {
    color: #07cbc9;
    font-size: 23px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}
.form-container .form-horizontal {
    background-color: #07cbc9;
    padding: 25px 20px 10px 20px;
    position: relative;
}
.form-container .form-horizontal:before {
    content: "";
    background: linear-gradient(-45deg, transparent 49%, #07cbc9 50%);
    height: 15px;
    width: 15px;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    left: 50%;
    top: -8px;
}
.form-horizontal .form-group {
    font-size: 0;
    margin: 0 0 15px;
}
.form-horizontal .input-icon {
    color: #fff;
    background-color: #079797;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    height: 45px;
    width: 55px;
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .form-control {
    color: #555;
    background-color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    width: calc(100% - 55px);
    height: 44px;
    padding: 2px 10px;
    box-shadow: 0 0 5px -3px #333;
    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: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    text-transform: capitalize;
}
.form-horizontal .btn {
    color: #fff;
    background-color: #fcc900;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100px;
    padding: 5px 18px;
    margin: 0 0 15px 0;
    border: none;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}
.form-horizontal .btn:hover,
.form-horizontal .btn:focus {
    color: #fff;
    background-color: #079797;
    box-shadow: 0 0 5px #555 inset;
}
.form-horizontal .remember-me {
    line-height: 15px;
    text-align: right;
    width: calc(100% - 105px);
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .remember-me input {
    background-color: #fff;
    height: 20px;
    width: 40px;
    margin: 0 0 -5px 0;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.form-horizontal .remember-me input:focus {
    outline: none;
}
.form-horizontal .remember-me input:not(:checked) {
    background-color: #fff;
}
.form-horizontal .remember-me input:checked {
    background-color: #079797;
}
.form-horizontal .remember-me input:before {
    content: "";
    background-color: #079797;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 2px;
    transition: left 0.3s ease;
}
.form-horizontal .remember-me input:checked:before {
    background-color: #fff;
    left: 22px;
}
.form-horizontal .social-links {
    padding: 0;
    margin: 0 0 10px;
    list-style: none;
    text-align: center;
}
.form-horizontal .social-links li {
    background-color: rgba(255, 255, 255, 0.5);
    width: 40%;
    padding: 5px;
    margin: 0 9% 0 0;
    display: inline-block;
}
.form-horizontal .social-links li:nth-child(2) {
    margin: 0 0 0 9%;
}
.form-horizontal .social-links li a {
    color: #fff;
    background-color: #079797;
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 5px;
    display: block;
    transition: all 0.3s ease;
}
.form-horizontal .social-links li a:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) inset;
}
.form-horizontal .forgot-pass {
    font-size: 12px;
    text-align: center;
    display: block;
}
.form-horizontal .forgot-pass a {
    color: #079797;
    transition: all 0.3s ease;
}
.form-horizontal .forgot-pass a:focus,
.form-horizontal .forgot-pass a:hover {
    text-decoration: underline;
}
@media only screen and (max-width: 576px) {
    .form-horizontal .social-links li,
    .form-horizontal .social-links li:nth-child(2) {
        width: auto;
        margin: 0;
    }
}
</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"></i>
                    </div>
                    <h3 class="title">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>
                        <button class="btn signin">Login</button>
                        <div class="remember-me">
                            <input type="checkbox" />
                            <span>Remember Me</span>
                        </div>
                        <ul class="social-links">
                            <li>
                                <a href="#"><i class="fab fa-facebook"></i> Facebook</a>
                            </li>
                            <li>
                                <a href="#"><i class="fab fa-instagram"></i> Instagram</a>
                            </li>
                        </ul>
                        <span class="forgot-pass"><a href="#">Forgot your password?</a></span>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Frontend Free Code</a></div>

</body>
</html>
Preview