如何使用bootstrap

时间:2016-01-06 13:57:18

标签: twitter-bootstrap

我正在努力在导航栏中对齐我的表单,我正在使用bootstrap并且我使用了几种方法无济于事。如果有人有线索,请帮忙。

file screenshot

<form class="navbar-form navbar-right" role="form">

       <div class="form-group form-group-sm">
           <label class="sr-only" for="email">E-mail address</label>
           <input type="email" class="form-control" id="email" placeholder="Email">  
       </div>
       <div class="form-group form-group-sm">
           <label class="sr-only" for="password">Password</label>
           <input type="email" class="form-control" id="email" placeholder="Password">  
       </div>
       <div class="checkbox checkbox-sm">
          <label><input type="checkbox">Remember me</label>
       </div>
       <button type="submit" class="btn btn-info btn-sm">Sign in</button>
 </form>

0 个答案:

没有答案