"Bootstrap Form"
Bootstrap 3.3.0 Snippet by bicherele

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>Bootstrap</legend> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="nom">Nom</label> <div class="col-md-5"> <input id="nom" name="nom" type="text" placeholder="" class="form-control input-md" required=""> </div> </div> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="cognoms">Cognoms</label> <div class="col-md-6"> <input id="cognoms" name="cognoms" type="text" placeholder="" class="form-control input-md" required=""> </div> </div> <!-- Select Basic --> <div class="form-group"> <label class="col-md-4 control-label" for="regiosanitaria">Regiò sanitària</label> <div class="col-md-5"> <select id="regiosanitaria" name="regiosanitaria" class="form-control"> <option value="">Barcelona</option> <option value="">Lleida</option> <option value="">Girona</option> <option value="">Camp de Tarragona</option> </select> </div> </div> <!-- Textarea --> <div class="form-group"> <label class="col-md-4 control-label" for="observacions">Observacions</label> <div class="col-md-4"> <textarea class="form-control" id="observacions" name="observacions">Escriu els teus comentaris.</textarea> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="enviar"></label> <div class="col-md-4"> <button id="enviar" name="enviar" class="btn btn-primary">Enviar</button> </div> </div> </fieldset> </form>
.form-control { background-color: #fff; color: #000; -webkit-appearance: none; } input[type="text"], input[type="select"], input[type="submit"], select, textarea { border: 1px solid #8d8d8d; }

Related: See More


Questions / Comments: