登录框
<form class="form-horizontal"> <fieldset> <legend>用户登录</legend> <div class="form-group"> <label for="inputEmail" class="col-lg-2 control-label">用户名</label> <div class="col-lg-10"> <input type="text" class="form-control" id="inputEmail" placeholder="Email"> </div> </div> <div class="form-group"> <label for="inputPassword" class="col-lg-2 control-label">密码</label> <div class="col-lg-10"> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> </div> </div> <div class="form-group"> <div class="col-lg-10 col-lg-offset-2"> <button type="reset" class="btn btn-primary">登录</button> </div> </div> </fieldset> </form>