title: Bootstrap 4: search input x clear search
body: <p>With the latest <code>Bootstrap 4</code>, I am trying to put an x in a <code>search input</code>.</p>
  
  <p>I could simply use</p>
  
  <pre><code>&lt;input type="search" placeholder="Search..." /&gt;
  </code></pre>
  
  <p>But this is not supported in <code>Firefox</code>...</p>
  
  <p>I've tried using <code>addon</code> and <code>negative margins</code>, but somehow the Bootstrap hides my button...</p>
  
  <pre><code>&lt;div class="input-group"&gt;
      &lt;input type="text" class="form-control" placeholder="Search..."&gt;
          &lt;div class="input-group-addon"&gt;
            &lt;button class="btn bg-transparent"&gt;
              &lt;i class="fa fa-times"&gt;&lt;/i&gt;
            &lt;/button&gt;
          &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I have my x button show up inside the input box aligned right?</p>