title: Bootstrap vertical alignment of card-header
body: <p>I have a card on my bootstrap page</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-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"&gt;
  &lt;div class="card"&gt;
      &lt;div class="card-header bg-info text-light"&gt;
          &lt;span style="vertical-align: middle"&gt;Example Python3 script&lt;/span&gt;
          &lt;button class="float-right btn-light btn" onclick="copy_function()"&gt;Copy&lt;/button&gt;
      &lt;/div&gt;
      &lt;div class="card-body" style="background: #F0F0F0"&gt;
          &lt;pre&gt;&lt;code class="python" id="text_to_copy"&gt;import urllib.request, json&lt;/code&gt;&lt;/pre&gt;
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The <code>style="vertical-align: middle"</code> does not work. Is there any way to align the text to the middle with the button?</p>