Input group - two inputs close to each other

后端 未结 11 1091
刺人心
刺人心 2020-12-12 17:47

How can I make input group involves two inputs?

11条回答
  •  天涯浪人
    2020-12-12 18:40

    To show more than one inputs inline without using "form-inline" class you can use the next code:

    Then using CSS selectors:

    /* To remove space between text inputs */
    .input-group > .input-group-btn:empty {
        width: 0px;
    }
    

    Basically you have to insert an empty span tag with "input-group-btn" class between input tags.

    If you want to see more examples of input groups and bootstrap-select groups take a look at this URL: http://jsfiddle.net/vkhusnulina/gze0Lcm0

提交回复
热议问题