"Login form"
Bootstrap 3.3.0 Snippet by vara24

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <section id="login"> <div class="container"> <div class="row"> <div class="col-xs-12"> <div class="form-wrap"> <h1>Enter Your Details</h1> <form role="form" action="javascript:;" method="post" id="login-form" autocomplete="off"> <div class="form-group"> <label for="name" class="sr-only">Name</label> <input type="text" placeholder="Name" id="name" class="form-control"> </div> <div class="form-group"> <label for="email" class="sr-only">Email</label> <input type="email" name="email" id="email" class="form-control" placeholder="somebody@example.com"> </div> <div class="form-group"> <label for="url" class="sr-only">Website URL</label> <input type="text" name="url" id="url" class="form-control" placeholder="Website"> </div> <div class="form-group"> <label for="message" class="sr-only">Message</label> <textarea class="form-control" id="msg" name="msg" placeholder="Message"></textarea> </div> <button type="submit" id="btn-login" class="btn btn-custom btn-lg btn-block"><span class="glyphicon glyphicon-send"></span>Send</button> </form> </div> </div> <!-- /.col-xs-12 --> </div> <!-- /.row --> </div> <!-- /.container --> </section>
/* -------------------------------------------------- :: Login Section -------------------------------------------------- */ #login { padding-top: 50px } #login .form-wrap { width: 30%; margin: 0 auto; } #login h1 { color: #1fa67b; font-size: 18px; text-align: center; font-weight: bold; padding-bottom: 20px; } #login .form-group { margin-bottom: 25px; } #login .checkbox { margin-bottom: 20px; position: relative; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; } #login .checkbox.show:before { content: '\e013'; color: #1fa67b; font-size: 17px; margin: 1px 0 0 3px; position: absolute; pointer-events: none; font-family: 'Glyphicons Halflings'; } #login .checkbox .character-checkbox { width: 25px; height: 25px; cursor: pointer; border-radius: 3px; border: 1px solid #ccc; vertical-align: middle; display: inline-block; } #login .checkbox .label { color: #6d6d6d; font-size: 13px; font-weight: normal; } #login .btn.btn-custom { font-size: 14px; margin-bottom: 20px; } #login .forget { font-size: 13px; text-align: center; display: block; } /* -------------------------------------------------- :: Inputs & Buttons -------------------------------------------------- */ .form-control { color: #212121; } .btn-custom { color: #fff; background-color: #1fa67b; } .btn-custom:hover, .btn-custom:focus { color: #fff; }

Related: See More


Questions / Comments: