我使用的是字体大小为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>