Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Bootstrap Form"
Bootstrap 3.3.0 Snippet by
tarunvyas
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.2K
 
1 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2 class="text-center heading">Contact form</h2> <div class="contact-form"> <h3>Contact Us</h3> <form id="contactform" action="" method="post"> <br> <label>Name</label> <input placeholder="Enter Your Name" name="user_name" class="form-control" type="text"> <div class="clearfix"></div> <label>Email id</label> <input placeholder="Enter Your Email address" name="email" class="form-control" type="text"> <div class="clearfix"></div> <label>Mobile no.</label> <input placeholder="Enter Your Mobile no." maxlength="10" name="mobile" class="form-control" type="text"> <div class="clearfix"></div> <label>Address</label> <textarea placeholder="Address" name="address" class="form-control" type="text"></textarea> <div class="clearfix"></div> <label>Comment</label> <textarea placeholder="Comment" name="comment" class="form-control" type="text"></textarea> <div class="clearfix"></div> <div class="col-md-offset-4"> <button class="btn btn-link col-lg-4" type="submit" name="submit"><span>Submit</span></button> </div> </form> </div> </div> </div>
.heading{margin-bottom:50px;} .form-control { background-color: transparent; box-shadow: none; border-top: 0; border-left: 0; border-right: 0; border-bottom: 1px solid #ccc; border-radius: 0; resize: none; } .contact-form { background-color: #f1f1f1; box-shadow: 0 1px 3px #c1c1c1; padding: 20px 20px 70px; } .contact-form h3 { background-color: #009fe3; color: #fff; margin-top: -35px; padding: 5px; text-align: center; } .contactaddr { background-color: #f1f1f1; box-shadow: 0 1px 3px #c1c1c1; padding: 18px; } .contact-form .btn-link { margin-left: 20px; background: #009fe3; border-radius: 0; color: #fff; cursor: pointer; margin-top: 15px; padding: 8px 15px; text-align: center; transition: all 0.5s ease 0s; }
Related:
See More
Free Template
Paper Kit 2
463.9K
45
login-form
170.9K
18
Login Form
142.2K
51
Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76