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 Responsive"
Bootstrap 4.1.1 Snippet by
mariovpirani
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
1.4K
 
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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html> <head> <title>Página Contato</title> <!-- Bootstrap --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" > <style type="text/css"> input,textarea, button{ margin: 10px 0 0px 0; } </style> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no, minimal-ui"/> </head> <body> <div class="container" style="margin-top: 50px;"><h2>Bootstrap 4.0</h2> <div class="row"> <div class="col-sm-6"> <!-- Aqui abro a tag form e defino a action e o metodo a ser enviado Action = Página destino Method = Post (envia o código de maneira "não visível na url" --> <form action="enviaContato.php" method="post"> <!-- input do formulario --> <div class="row"> <div class="col-sm-12"> <input type="text" class="form-control" name="empresa" id="empresa" placeholder="Empresa" required="" /> </div> </div> <div class="row"> <div class="col-sm-12"> <input type="text" class="form-control" name="nome" id="nome" placeholder="Nome" required="" /> </div> </div> <div class="row"> <div class="col-sm-6"> <input type="text" class="form-control" name="telefone" id="telefone" placeholder="Telefone" required="" /> </div> <div class="col-sm-6"> <input type="email" class="form-control" name="email" id="email" placeholder="email" required="" /> </div> </div> <div class="row"> <div class="col-sm-12"> <textarea class="form-control" name="mensagem" id="mensagem" placeholder="mensagem" required="" > </textarea> </div> </div> <div class="row"> <div class="col-sm-12"> <button type="submit" class="btn btn-dark">Enviar</button> </div> </div> </form> </div> <div class="col-sm-6"> <h5>Telefone</h5> 11 99999-9999 <hr> <h5>E-mail</h5> mariones@mariones.com.br <hr> <button class="btn btn-dark">Ver Mapa</button> </div> </div> </div> <!-- Bootstrap --> </body>
input,textarea, button{ margin: 10px 0 0px 0; }
Related:
See More
Template
Get Shit Done Pro
141.8K
51
Contact Form
203.1K
56
Bootstrap Contact Form
109.1K
47
Bootstrap Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76