"Sign in Panel"
Bootstrap 3.2.0 Snippet by 高级放牛娃

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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" style="margin-top:40px"> <div class="row"> <div class="col-sm-6 col-md-4 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading"> <strong>请登录系统</strong> </div> <div class="panel-body"> <form role="form" action="#" method="POST"> <fieldset> <div class="row"> <div class="center-block"> <img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120" alt=""> </div> </div> <div class="row"> <div class="col-sm-12 col-md-10 col-md-offset-1 "> <div class="form-group"> <div class="input-group"> <span class="input-group-addon"> <i class="glyphicon glyphicon-user"></i> </span> <input class="form-control" placeholder="账号" name="loginname" type="text" autofocus> </div> </div> <div class="form-group"> <div class="input-group"> <span class="input-group-addon"> <i class="glyphicon glyphicon-lock"></i> </span> <input class="form-control" placeholder="密码" name="password" type="password" value=""> </div> </div> <div class="form-group"> <input type="submit" class="btn btn-lg btn-primary btn-block" value="登录系统"> </div> </div> </div> </fieldset> </form> </div> <div class="panel-footer "> 没有账号?<a href="#" onClick=""> 马上注册一个! </a> </div> </div> </div> </div> </div>
.panel-heading { padding: 5px 15px; } .panel-footer { padding: 1px 15px; color: #A0A0A0; } .profile-img { width: 96px; height: 96px; margin: 0 auto 10px; display: block; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; }

Related: See More


Questions / Comments: