title: How to make textarea element fill all the height using bootstrap 4?
body: <p>How to make textarea element fill all the height between the header and footer without getting a scroll bar using bootstrap 4?
  here is my html code:</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>#container {
      background-color: rgb(253, 248, 177);
  }
  
  #title {
      color: white;
      padding-top: 7px; 
  }
  
  #cancel, #submit {
      color: white;
      font-size: 20px;
  }
  
  #add {
      font-size: 20px; 
  }
  
  #delete, #cancel, #submit {
      display: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;div class="container min-vh-100 d-flex flex-column" id="container"&gt;
  
    &lt;!-- header --&gt;
    &lt;div class="row align-items-start bg-info" id="header"&gt;
      &lt;div class="col text-center"&gt;
        &lt;button type="button" class="btn" id="cancel"&gt;&amp;#10007;&lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="col text-center"&gt;
        &lt;h4 id="title"&gt;Notebook&lt;/h4&gt;
      &lt;/div&gt;
      &lt;div class="col text-center"&gt;
        &lt;button type="button" class="btn" id="submit"&gt;&amp;#10004;&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;br /&gt;
    &lt;!-- main --&gt;
    &lt;div class="row flex-grow-1"&gt;
      &lt;div class="col" id="main"&gt;
        &lt;textarea class="form-control textarea" placeholder="write note" id="note"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;!-- footer --&gt;
    &lt;div class="row align-items-end" id="footer"&gt;
      &lt;div class="col d-flex justify-content-start" style="padding: 10px; padding-left: 25px;"&gt;
        &lt;button id="add" class="btn btn-info rounded-circle"&gt;
          &lt;h4 style="padding: 0px; margin: 0px;"&gt;&amp;#x2b;&lt;/h4&gt;
        &lt;/button&gt;
        &lt;button id="delete" class="btn btn-info rounded-circle"&gt;&amp;#128465;&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>can anyone tell me how to do that, i want it to be responsive so i don't want to set specific number of rows to the textarea element.</p>