title: Center container in Jumbotron with Bootstrap 4
body: <p>I'm currently working on learning front-end web development and I'm trying to learn to use Bootstrap. Under my nav-bar, I have a jumbotron with a blurred image as the background. I currently have it set up so only the image is blurred and not the text; however, I can't figure out how to center the h1 and p vertically.</p>
  
  <p><strong>Image of jumbotron</strong>
  <a href="https://i.stack.imgur.com/9E9Ud.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9E9Ud.png" alt="Image of jumbotron"></a></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> .jumbotron-fluid {
    text-shadow: #444 0 1px 1px;
    color: #FFF;
    position: relative;
    height: 40vh;
   }
  
   .jumbotron-fluid .container-fluid {
    position: relative;
    z-index: 2;
   }
  
   .jumbotron-fluid .bg {
    background: url("../code.png") top center no-repeat;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    overflow: hidden;
    position: absolute;
    filter: blur(5px);
    top: 0;
    left: 0;
    z-index: 1;
   }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"&gt;
  &lt;div class="bg"&gt;&lt;/div&gt;
   &lt;div class="jumbotron jumbotron-fluid"&gt;
    &lt;div class="bg"&gt;&lt;/div&gt;
    &lt;div class="container-fluid text-center"&gt;
     &lt;h1 class="display-4"&gt;Welcome!&lt;/h1&gt;
     &lt;p class="lead"&gt;This site contains various projects I have worked on&lt;/p&gt;
    &lt;/div&gt;
   &lt;/div&gt;
   </code></pre>
  </div>
  </div>
  </p>