"Responsive Contact Form"
Bootstrap 3.3.0 Snippet by badrrehman

<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 ----------> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Responsive Contact Form</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> </head> <body> <section class="contact-sec"> <div class="container-fluid "> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="row"> <div class="col-md-2"></div> <div class="col-md-8 col-sm-8 col-x-12"> <div class="contact-heading"> <p>Contact us</p> </div> <div class="contact-form"> <form> <span>Full Name</span> <input class="contact-input" type="text" role="textbox" placeholder="John Doe.."> <span>Email</span> <input class="contact-input" type="email" role="textbox" placeholder="acb@xyzmail.com"> <span>Your Message</span> <textarea class="txt-area" rows="20" cols="100" placeholder="Write your message here.."></textarea> </form> </div> </div> <div class="col-md-2"></div> </div> <div style="padding:50px;"> <center><a href="#" class="btn-send">Send</a></center> </div> </div> </div> </div> </section> </body> </html>
/* followed the Bootstrap technology 3.3.7 css3 version no 1*/ /* Author :: Badr Rehman */ /* Github.com/badrrehman*/ /* Responsive Contact Form */ .contact-heading{ font-size:60px; color:#1480D8; text-decoration:underline; } .contact-form{ padding:50px; } .contact-form > form > span{ font-size:20px; font-weight:bold; padding:10px; } .contact-input{ font-size:18px; color:#151515; padding:25px; border:1px solid #1480D8; background-color:transparent; width:100%; height:20px; margin-bottom:20px; border-radius:3px; transition:all 1s ease; -webkit-transition:all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; } .contact-input:focus{ background-color:#636363; color:#fff; } .txt-area{ padding:10px; font-size:18px; float:left; width: 100%; min-height: 75px; outline: none; resize:vertical; border-radius:3px; border: 1px solid #1480D8; background-color:transparent; transition:all 1s ease; -webkit-transition:all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; } .txt-area:focus{ background-color:#636363; color:#fff; } .btn-send{ background-color:#1480D8; color:#fff; border:3px solid transparent; font-size:30px; text-align:center; padding:20px; border-radius:2px; margin-top: 45%; transition:all 1s ease; -webkit-transition:all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; } .btn-send:hover{ background-color:transparent; color:#1480D8; border-color:#1480D8; } .contact-sec{ padding-top:8%; padding-bottom:8%; }

Related: See More


Questions / Comments: