<form class="navbar-form nav-search form-inline" role="form">
<div class="form-group">
<div class="input-group">
<input type="search" class="form-control input-sm input-search" id="filter-input" placeholder="Type to filter..">
<span class="input-group-btn">
<button class="btn btn-default btn-sm" type="button">x</button>
</span>
</div>
</div>
<button type="submit" class="btn btn-primary btn-sm btn-search">Search</button>
</form>
http://jsfiddle.net/XfzFQ/22/Twitter的引導輸入組問題
當我使用的輸入組,它是瘋狂。我找不到解決方案。幫我!
這也是自舉問題。 https://github.com/twbs/bootstrap/issues/9950 解決方案通過向form-group style =「width:200px」提供引導。 http://jsfiddle.net/9Z4MN/3/ – Samed