我使用的是字體大小爲13px和行高爲1.538461538(20/13)的自定義引導程序,因爲您可以看到here。具有自定義字體大小和輸入組的引導程序
但是,當我使用input-group和input-group-btn時,元素不會對齊,因爲您可以查找here。
如何配置引導程序以使用13px字體大小並保持組件對齊?與輸入的基團的組分的基本碼是:
<div class="container-fluid">
<div class="row">
<div class="col-xs-4 form-group">
<label>Foo</label>
<div class="input-group">
<input type="text" class="form-control" value="" />
<div class="input-group-btn">
<button type="button" class="btn btn-default">Go!</button>
</div>
</div>
</div>
</div>
</div>