title: How to center the modal-title in Bootstrap
body: <p>I'm trying to center the h5 of the modal-title in bootstrap.
  In a tutorial I saw it's enough to set </p>
  
  <pre><code>h5.modal-title{
  margin: auto;
  }
  </code></pre>
  
  <p>and it looked perfect in the video.(They used Bootstrap4 beta)
  but When I do it, it looks like this:
  <a href="https://i.stack.imgur.com/iYu7O.png" rel="nofollow noreferrer">https://i.stack.imgur.com/iYu7O.png</a></p>
  
  <p>
        </p>
  
  <pre><code>  &lt;!-- Modal --&gt;
    &lt;div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog" role="document"&gt;
        &lt;div class="modal-content"&gt;
          &lt;div class="modal-header"&gt;
            &lt;h5 class="modal-title" id="exampleModalLabel"&gt;Modal title&lt;/h5&gt;
            &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;
              &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
            &lt;/button&gt;
          &lt;/div&gt;
          &lt;div class="modal-body"&gt;
            ...
          &lt;/div&gt;
          &lt;div class="modal-footer"&gt;
            &lt;button type="button" class="btn btn-secondary" data-dismiss="modal"&gt;Close&lt;/button&gt;
            &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>