title: Bootstrap 3 - how to hide input-group-btn on a specific device
body: <p>I wish to hide an input-group-btn when viewed on extra-small devices.  What is the appropriate way to achieve this?</p>
  
  <p>I've tried the following:</p>
  
  <pre><code>    &lt;div class="input-group"&gt;
          &lt;input type="text" class="form-control"&gt;
          &lt;div class="input-group-btn hidden-xs"&gt;
              &lt;button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"&gt;Action &lt;span class="caret"&gt;&lt;/span&gt;&lt;/button&gt;
              &lt;ul class="dropdown-menu pull-right"&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
                  &lt;li class="divider"&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;&lt;!-- /btn-group --&gt; 
      &lt;/div&gt;&lt;!-- /input-group --&gt; 
  </code></pre>
  
  <p>But it messes up the rendering of the input-group <a href="http://bootply.com/81206" rel="nofollow noreferrer">http://bootply.com/81206</a></p>
  
  <p>Without 'hidden-xs':</p>
  
  <p><img src="https://i.stack.imgur.com/wfM2R.jpg" alt="enter image description here"></p>
  
  <p>With 'hidden-xs':</p>
  
  <p><img src="https://i.stack.imgur.com/BLZET.jpg" alt="enter image description here"></p>