How to make multiple segmented inputs in a single input group in Bootstrap

Posted by metaculus on Stack Overflow See other posts from Stack Overflow or by metaculus
Published on 2014-08-23T15:18:55Z Indexed on 2014/08/23 16:20 UTC
Read the original article Hit count: 498

This is how it is supposed to look like on Airbnb home page http://airbnb.com

I have tried .input-group-addon and nest in it another <input> like so:

<div class="col-lg-6">
    <div class="input-group">
      <input type="text" class="form-control">
          <span class="input-group-addon">
              <input type="text" id="nested-input" class="form-control">
          </span>
          <span class="input-group-btn">
              <button class="btn btn-default" type="button">Go!</button>
          </span>
      </div>
  </div>
</div>

And it didn't work. Does Bootstrap support this styling?

© Stack Overflow or respective owner

Related posts about html

Related posts about css