"Contact Form Responsive"
Bootstrap 4.1.1 Snippet by mariovpirani

<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


Questions / Comments: