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 Contact Form"
Bootstrap 4.1.1 Snippet by
testing223
4.1.1
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
304
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 contact-form"> <div class="contact-image"> <img src="https://image.ibb.co/kUagtU/rocket_contact.png" alt="rocket_contact"/> </div> <form method="post"> <h3>Drop Us a Message</h3> <div class="row"> <div class="col-md-6"> <div class="form-group"> <input type="text" name="txtName" class="form-control" placeholder="Your Name *" value="" /> </div> <div class="form-group"> <input type="text" name="txtEmail" class="form-control" placeholder="Your Email *" value="" /> </div> <div class="form-group"> <input type="text" name="txtPhone" class="form-control" placeholder="Your Phone Number *" value="" /> </div> <div class="form-group"> <input type="submit" name="btnSubmit" class="btnContact" value="Send Message" /> </div> </div> <div class="col-md-6"> <div class="form-group"> <textarea name="txtMsg" class="form-control" placeholder="Your Message *" style="width: 100%; height: 150px;"></textarea> </div> </div> </div> </form> </div>
body{ background: -webkit-linear-gradient(left, #0072ff, #00c6ff); } .contact-form{ background: #fff; margin-top: 10%; margin-bottom: 5%; width: 70%; } .contact-form .form-control{ border-radius:1rem; } .contact-image{ text-align: center; } .contact-image img{ border-radius: 6rem; width: 11%; margin-top: -3%; transform: rotate(29deg); } .contact-form form{ padding: 14%; } .contact-form form .row{ margin-bottom: -7%; } .contact-form h3{ margin-bottom: 8%; margin-top: -10%; text-align: center; color: #0062cc; } .contact-form .btnContact { width: 50%; border: none; border-radius: 1rem; padding: 1.5%; background: #dc3545; font-weight: 600; color: #fff; cursor: pointer; } .btnContactSubmit { width: 50%; border-radius: 1rem; padding: 1.5%; color: #fff; background-color: #0062cc; border: none; cursor: pointer; }
Related:
See More
Template
Paper Kit Pro
142.4K
51
Contact Form
204.6K
56
Bootstrap Contact Form
109.9K
48
Bootstrap Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76