"Sign In - Sign Up Dual Modal"
Bootstrap 3.1.0 Snippet by kadufreitas

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Button trigger modal --> <div class="container"> <hr class="prettyline"> <br> <center> <h1><b>Tourista</b></h1> <h3>Bem vindo</h3> <br> <button class="btn btn-primary btn-lg" href="#signup" data-toggle="modal" data-target=".bs-modal-sm">Login/Registrar-se</button> </center> <br> <hr class="prettyline"> </div> <!-- Modal --> <div class="modal fade bs-modal-sm" id="myModal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <br> <div class="bs-example bs-example-tabs"> <ul id="myTab" class="nav nav-tabs"> <li class="active"><a href="#signin" data-toggle="tab">Login</a></li> <li class=""><a href="#signup" data-toggle="tab">Registrar-se</a></li> <li class=""><a href="#why" data-toggle="tab">Por que?</a></li> </ul> </div> <div class="modal-body"> <div id="myTabContent" class="tab-content"> <div class="tab-pane fade in" id="why"> <p>Precisamos dessas informações para que você possa receber o acesso ao site e seu conteúdo. Tenha certeza de sua informação não será vendido, trocado, ou dado a qualquer pessoa.</p> <p></p><br> Entre em contato com <a mailto:href="JoeSixPack@Sixpacksrus.com"></a>republicalols@hotmail.com</a> para quaisquer outras dúvidas.</p> </div> <div class="tab-pane fade active in" id="signin"> <form class="form-horizontal"> <fieldset> <!-- Sign In Form --> <!-- Text input--> <div class="control-group"> <label class="control-label" for="userid">Usuário:</label> <div class="controls"> <input required="" id="userid" name="userid" type="text" class="form-control" placeholder="Nome" class="input-medium" required=""> </div> </div> <!-- Password input--> <div class="control-group"> <label class="control-label" for="passwordinput">Senha:</label> <div class="controls"> <input required="" id="passwordinput" name="passwordinput" class="form-control" type="password" placeholder="********" class="input-medium"> </div> </div> <!-- Multiple Checkboxes (inline) --> <div class="control-group"> <label class="control-label" for="rememberme"></label> <div class="controls"> <label class="checkbox inline" for="rememberme-0"> <input type="checkbox" name="rememberme" id="rememberme-0" value="Remember me"> Relembre-me </label> </div> </div> <!-- Button --> <div class="control-group"> <label class="control-label" for="signin"></label> <div class="controls"> <button id="signin" name="signin" class="btn btn-success">Login</button> </div> </div> </fieldset> </form> </div> <div class="tab-pane fade" id="signup"> <form class="form-horizontal"> <fieldset> <!-- Sign Up Form --> <!-- Text input--> <div class="control-group"> <label class="control-label" for="Email">Email:</label> <div class="controls"> <input id="Email" name="Email" class="form-control" type="text" placeholder="nome@mandacaru.com" class="input-large" required=""> </div> </div> <!-- Text input--> <div class="control-group"> <label class="control-label" for="userid">Usuário:</label> <div class="controls"> <input id="userid" name="userid" class="form-control" type="text" placeholder="Nome" class="input-large" required=""> </div> </div> <!-- Password input--> <div class="control-group"> <label class="control-label" for="password">Senha:</label> <div class="controls"> <input id="password" name="password" class="form-control" type="password" placeholder="********" class="input-large" required=""> <em>1-8 Letras</em> </div> </div> <!-- Text input--> <div class="control-group"> <label class="control-label" for="reenterpassword">Reescreva a senha:</label> <div class="controls"> <input id="reenterpassword" class="form-control" name="reenterpassword" type="password" placeholder="********" class="input-large" required=""> </div> </div> <!-- Multiple Radios (inline) --> <!-- Button --> <div class="control-group"> <label class="control-label" for="confirmsignup"></label> <div class="controls"> <button id="confirmsignup" name="confirmsignup" class="btn btn-success">Entrar</button> </div> </div> </fieldset> </form> </div> </div> </div> <div class="modal-footer"> <center> <button type="button" class="btn btn-default" data-dismiss="modal">Fechar</button> </center> </div> </div> </div> </div>
.prettyline { height: 5px; border-top: 0; background: #c4e17f; border-radius: 5px; background-image: -webkit-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4); background-image: -moz-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4); background-image: -o-linear-gradient(left, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4); background-image: linear-gradient(to right, #c4e17f, #c4e17f 12.5%, #f7fdca 12.5%, #f7fdca 25%, #fecf71 25%, #fecf71 37.5%, #f0776c 37.5%, #f0776c 50%, #db9dbe 50%, #db9dbe 62.5%, #c49cde 62.5%, #c49cde 75%, #669ae1 75%, #669ae1 87.5%, #62c2e4 87.5%, #62c2e4); } */ Color line credit to ninjamonk: [[http://bootsnipp.com/snippets/featured/mix-amp-match-login]]

Related: See More


Questions / Comments: