Input group - two inputs close to each other

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

How can I make input group involves two inputs?

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

    I have searched for this a few minutes and i couldn't find any working code.

    But now i finaly did it ! Take a look:

    And css

    #unified-inputs.input-group { width: 100%; }
    #unified-inputs.input-group input { width: 50% !important; }
    #unified-inputs.input-group input:last-of-type { border-left: 0; }
    

    http://jsfiddle.net/4Ln8d7zq/)

提交回复
热议问题