content logo

Bootstrap Forms:

Bootstrap Contact us Form

On each website, you can see an option that allows you to contact the website’s owner. This factor is so important, and we recommend you use tabs to improve your website. The Bootstrap Contact us Form of this post has all needed elements. The appearance of this form should fit with the theme of your website. The mentioned HTML Contact us Form has a beautiful design that can attract anyone’s attention. This Free Contact Us Form lets the audiences transmit their criticisms about a website to the administration. It has a significant impact on the website's improvement.

This CSS Contac us Form has a gray and pink background. The inner page is white, and the title is black. Plus, you can see a pink line under this title. There is a message icon on the top right of the page with pink color. This Form has three fields for name, the email address, and the audience's message. These elements have related icons with gray color. The button for sending the message has a pure and white theme in this HTML Form with Icon. Once you select it, the border and writing of this field change to pink.

 

#

HTML Contact us Form

#

HTML Form with Icon

#

Free Contact us Form

#

CSS Contac us Form

<!-- This script got from frontendfreecode.com -->
<div class="form-bg">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <div class="form-container">
                    <div class="form-icon">
                        <i class="fa fa-envelope-open"></i>
                    </div>
                    <form class="form-horizontal">
                        <h3 class="title">Contact Us</h3>
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-user"></i></span>
                            <input class="form-control" type="text" placeholder="Name" />
                        </div>
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-envelope"></i></span>
                            <input class="form-control" type="email" placeholder="Email Address" />
                        </div>
                        <div class="form-group">
                            <textarea class="form-control" rows="4" cols="120" placeholder="Message"></textarea>
                        </div>
                        <button class="btn signin">Send Message <i class="fa fa-long-arrow-alt-right"></i></button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    background: linear-gradient(-45deg,#E6145E,#E6145E 45%,#d1d1d1 45%, #d1d1d1 100%, #fff 100%)fixed !important ;
    margin: 20px;
}
.form-container {
    font-family: "Roboto", sans-serif;
    padding: 40px 40px 0 0;
    position: relative;
}
.form-container .form-icon {
    color: #e6145e;
    background-color: #fff;
    font-size: 40px;
    text-align: center;
    line-height: 80px;
    height: 80px;
    width: 80px;
    border: 3px solid #e6145e;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.form-container .form-horizontal {
    background: linear-gradient(#e7e7e7 25px, rgba(255, 255, 255, 0.97) 25px);
    padding: 40px 20px 20px;
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}
.form-container .title {
    color: #222;
    font-size: 27px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}
.form-container .title:after {
    content: "";
    background-color: #e6145e;
    height: 3px;
    width: 110px;
    margin: 10px 0 0;
    display: block;
    clear: both;
}
.form-horizontal .form-group {
    background-color: rgba(255, 255, 255, 0.15);
    margin: 0 0 15px;
    border-bottom: 2px solid #e7e7e7;
}
.form-horizontal .input-icon {
    color: #b5b5b5;
    font-size: 20px;
    text-align: center;
    line-height: 35px;
    height: 35px;
    width: 30px;
    margin: 0 0 0 4px;
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .form-control {
    color: #222;
    background-color: transparent;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    width: calc(100% - 40px);
    height: 33px;
    padding: 3px 10px 0 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: inline-block;
    transition: all 0.3s;
}
.form-horizontal textarea.form-control {
    height: auto;
    width: 100%;
}
.form-horizontal .form-control:focus {
    box-shadow: none;
    border: none;
}
.form-horizontal .form-control::placeholder {
    color: #b5b5b5;
    font-size: 15px;
    font-weight: 400;
    text-transform: capitalize;
}
.form-horizontal .btn {
    color: #d1d1d1;
    background-color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px 7px 20px;
    margin: 0 auto;
    border: 2px solid #e7e7e7;
    border-radius: 20px;
    display: block;
    transition: all 0.3s ease 0s;
}
.form-horizontal .btn:hover,
.form-horizontal .btn:focus {
    color: #e6145e;
    background-color: #fff;
    border: 2px solid #e6145e;
}
.form-horizontal .btn i {
    transition: all 0.3s ease 0s;
}
.form-horizontal .btn:hover i {
    color: #e6145e;
    transform: translateX(3px);
}
<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: linear-gradient(-45deg,#E6145E,#E6145E 45%,#d1d1d1 45%, #d1d1d1 100%, #fff 100%)fixed !important ;
    margin: 20px;
}
.form-container {
    font-family: "Roboto", sans-serif;
    padding: 40px 40px 0 0;
    position: relative;
}
.form-container .form-icon {
    color: #e6145e;
    background-color: #fff;
    font-size: 40px;
    text-align: center;
    line-height: 80px;
    height: 80px;
    width: 80px;
    border: 3px solid #e6145e;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.form-container .form-horizontal {
    background: linear-gradient(#e7e7e7 25px, rgba(255, 255, 255, 0.97) 25px);
    padding: 40px 20px 20px;
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}
.form-container .title {
    color: #222;
    font-size: 27px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}
.form-container .title:after {
    content: "";
    background-color: #e6145e;
    height: 3px;
    width: 110px;
    margin: 10px 0 0;
    display: block;
    clear: both;
}
.form-horizontal .form-group {
    background-color: rgba(255, 255, 255, 0.15);
    margin: 0 0 15px;
    border-bottom: 2px solid #e7e7e7;
}
.form-horizontal .input-icon {
    color: #b5b5b5;
    font-size: 20px;
    text-align: center;
    line-height: 35px;
    height: 35px;
    width: 30px;
    margin: 0 0 0 4px;
    vertical-align: top;
    display: inline-block;
}
.form-horizontal .form-control {
    color: #222;
    background-color: transparent;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    width: calc(100% - 40px);
    height: 33px;
    padding: 3px 10px 0 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: inline-block;
    transition: all 0.3s;
}
.form-horizontal textarea.form-control {
    height: auto;
    width: 100%;
}
.form-horizontal .form-control:focus {
    box-shadow: none;
    border: none;
}
.form-horizontal .form-control::placeholder {
    color: #b5b5b5;
    font-size: 15px;
    font-weight: 400;
    text-transform: capitalize;
}
.form-horizontal .btn {
    color: #d1d1d1;
    background-color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px 7px 20px;
    margin: 0 auto;
    border: 2px solid #e7e7e7;
    border-radius: 20px;
    display: block;
    transition: all 0.3s ease 0s;
}
.form-horizontal .btn:hover,
.form-horizontal .btn:focus {
    color: #e6145e;
    background-color: #fff;
    border: 2px solid #e6145e;
}
.form-horizontal .btn i {
    transition: all 0.3s ease 0s;
}
.form-horizontal .btn:hover i {
    color: #e6145e;
    transform: translateX(3px);
}
</style>

</head>
<body>
<div class="form-bg">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <div class="form-container">
                    <div class="form-icon">
                        <i class="fa fa-envelope-open"></i>
                    </div>
                    <form class="form-horizontal">
                        <h3 class="title">Contact Us</h3>
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-user"></i></span>
                            <input class="form-control" type="text" placeholder="Name" />
                        </div>
                        <div class="form-group">
                            <span class="input-icon"><i class="fa fa-envelope"></i></span>
                            <input class="form-control" type="email" placeholder="Email Address" />
                        </div>
                        <div class="form-group">
                            <textarea class="form-control" rows="4" cols="120" placeholder="Message"></textarea>
                        </div>
                        <button class="btn signin">Send Message <i class="fa fa-long-arrow-alt-right"></i></button>
                    </form>
                </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