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
"Contact Form Site Visit"
Bootstrap 4.1.1 Snippet by
Shailesh Kushwaha
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
1.4K
 
1 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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <section class="newsletter"> <div class="overlay"> <div class="container"> <h2>Contact For Free Site Visit</h2> <p style="text-align: center;">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</p> <form action="#" name="myForm1" method="post"> <div class="input_group"> <input name="name" type="text" placeholder="Your Name" required="name"> <input name="phone" type="text" placeholder="Your Phone" required="Phone"> <button type="submit">Send</button> </div> <!-- End .input_group --> </form> </div> <!-- End .container --> </div> <!-- End .overlay --> </section>
.newsletter { background-attachment: fixed; background-size: cover; margin-top: 100px; height: 310px; position: relative; } .newsletter .overlay { width: 100%; height: 100%; text-align: center; } .newsletter .overlay { width:100%; height:100%; background: rgba(247, 48, 52, 0.89); text-align: center; } .newsletter h2 { font-weight: 700; text-transform: uppercase; } .newsletter h2, .newsletter p { color:#fff; -webkit-user-select:none; } .newsletter p { margin:18px 0 34px 0; } .newsletter form .input_group { width:735px; height:48px; position: relative; margin: 0 0 0 174px; } .newsletter form .input_group input { width:48%; height:100%; background:transparent; border:1px solid #fff; outline: none; padding-left:20px; padding-right: 20px; color:#fff; float:left; } .newsletter form .input_group input[type="email"] { border-left:none; } .newsletter form .input_group button { width:120px; height:100%; text-align: center; color:#FFF; background: #1c252c; position: absolute; right:-89px; border:none; font-weight: 700; text-transform: uppercase; outline: none; box-shadow: none; -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } .newsletter form .input_group button:hover, .newsletter form .input_group button:focus { background: #1c252c; } .newsletter form .input_group ::-webkit-input-placeholder { color: #fff; } .newsletter form .input_group :-moz-placeholder { /* Firefox 18- */ color: #fff; } .newsletter form .input_group ::-moz-placeholder { /* Firefox 19+ */ color: #fff; } .newsletter form .input_group :-ms-input-placeholder { color: #fff; }
Related:
See More
Template
Paper Kit Pro
142.5K
51
Contact Form
205.0K
56
Bootstrap Contact Form
110.1K
48
Bootstrap Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76