How to set width of a button bootstrap
<p>How to set custom width of a bootstrap button.</p>

<p><a href="https://i.stack.imgur.com/uUAtm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uUAtm.png" alt="enter image description here"></a></p>

<p>My problem is that I don't know how to shrink width of button to like on the image (it's a submit button). Left part is input text. My problem is button is too wide. Here is the code:</p>

<pre><code>&lt;div class="col-xs-5 col-xs-offset-3"&gt;
  &lt;div class="input-group input-group-lg"&gt;
    &lt;input type="text" class="form-control input-lg input-forme" id="Text" placeholder="Text"&gt;
    &lt;span class="input-group-btn tipka"&gt;
      &lt;button type="submit" class="btn btn-group-small" id="form-submit"&gt;Submit&lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>