bootstrap 3 input-group 100% width

后端 未结 5 2092
无人及你
无人及你 2021-02-12 23:59

In the bootstrap documentation, they have input groups that span 100% width with no additional markup: http://getbootstrap.com/components/#input-groups

5条回答
  •  长发绾君心
    2021-02-13 00:41

    Adding width: 1% to the input element's sibling fixes this:

    .clear { width: 1%; display: table-cell; }
    

    See http://jsfiddle.net/Wexcode/B9LMN/2/

提交回复
热议问题