"Bootstrap Form"
Bootstrap 3.3.0 Snippet by tarunvyas

<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


Questions / Comments: