title: How to put background color *behind* bootstrap button
body: <p>I'm trying to have an input appear when a button is clicked but then I want a background all the way around both the button and the input.  Currently, my markup renders like the following:</p>
  
  <p><a href="https://i.stack.imgur.com/rxaPt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rxaPt.png" alt="enter image description here"></a></p>
  
  <p>So when the click reason, I basically want the yellow (alert-warning) background around the Reason button and the input.  My markup looks like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>div.saveReason {
      display: inline;
      background-color: #fff3cd;
      border: solid 1px #ffeeba;
      border-bottom-width: 0;
      padding-bottom: 20px;
      z-index: 1;
  }
  div.saveReasonDetail {
      z-index: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"&gt;
  &lt;div&gt;
      &lt;a class="btn btn-primary mr-2 SaveEdits"&gt;Save&lt;/a&gt;
      &lt;div class="saveReason"&gt;&lt;a href="#" class="btn btn-secondary mr-2 SaveReason"&gt;Reason&lt;/a&gt;&lt;/div&gt;
      &lt;a class="btn btn-link CancelEdits"&gt;Cancel&lt;/a&gt;
      &lt;div class="alert alert-warning mt-2 saveReasonDetail"&gt;
          &lt;div class="form-group viReason"&gt;
              &lt;div class="validator-container"&gt;
                  &lt;textarea name="iReason" rows="4" id="iReason" class="form-control iReason"&gt;&lt;/textarea&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My problems are:</p>
  
  <p>1) I don't want the border underneath the button...I want the border to only be no the 'outside' of the yellow.</p>
  
  <p>2) I want the yellow background to extend just a bit outside of the reason button (without affecting the margins between the buttons already in place).</p>
  
  <p>Is this possible?</p>
  
  <p><strong>Update</strong>: I got valid answers from Kareem Dabbeet and Chase Ingebritson.  Kareem was first marked as answer, but not being an expert in HTML, I'm thinking the comment Chase made about a 'same container' seems to be important.  Make sure to review his answer as well.</p>