Skip to content

Instantly share code, notes, and snippets.

@AndreiTelteu
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreiTelteu/0994b1b7146731aa540b to your computer and use it in GitHub Desktop.
Save AndreiTelteu/0994b1b7146731aa540b to your computer and use it in GitHub Desktop.

A input group with 2 text inputs / demo here: http://jsfiddle.net/rjj0x1sm/

<div class="input-group" id="unified-inputs">
  <input type="text" class="form-control" placeholder="Input1" />
  <input type="text" class="form-control" placeholder="Input2" />
</div>
#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; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment