"Форма авторизации на сайте"
Bootstrap 3.3.0 Snippet by ASDAFF

<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 ----------> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-lg-6"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"> Авторизация на сайте</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6 separator social-login-box"> <br /> <a href="#" class="btn facebook btn-block" role="button">Войти с помощью Facebook</a> <br /> <a href="#" class="btn twitter btn-block" role="button">Войти с помощью Twitter</a> </div> <div class="col-xs-6 col-sm-6 col-md-6 login-box"> <form role="form"> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span> <input type="text" class="form-control" placeholder="Имя пользователя" required autofocus /> </div> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span> <input type="password" class="form-control" placeholder="Ваш пароль" required /> </div> <p> <a href="#">Забыли свой пароль?</a></p> У вас нет аккаунта? <a href="#">Регистрация</a> </form> </div> </div> </div> <div class="panel-footer"> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="checkbox"> <label> <input type="checkbox" value="Remember"> Запомнить меня </label> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <button type="button" class="btn btn-labeled btn-success"> <span class="btn-label"><i class="glyphicon glyphicon-ok"></i></span>Войти</button> <button type="button" class="btn btn-labeled btn-danger"> <span class="btn-label"><i class="glyphicon glyphicon-remove"></i></span>Выход</button> </div> </div> </div> </div> </div> </div> </div>
.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;} .btn-labeled {padding-top: 0;padding-bottom: 0;} .input-group { margin-bottom:10px; } .separator { border-right: 1px solid #dfdfe0; } .facebook,.twitter { min-width:170px; } .facebook { background-color:#354E84;color:#fff; } .twitter { background-color:#00A5E3;color:#fff; } .facebook:hover,.twitter:hover { color:#fff; }

Related: See More


Questions / Comments: