title: Using background images in jade
body: <p>I'm using express + node.js + Jade. I wrote up a jade file but I can't get the background image to appear. I played around with the body class and it seems to work for the text color but it doesn't use the background image</p>
  
  <pre><code>  body {
    font-family: "Josefin Slab" !important;
    background-image: url("concursum-bg.jpg");
    background-size: cover;
    color: white;
    text-align: center;
    background-repeat: no-repeat;
    }
  </code></pre>
  
  <p>I made sure that the image is in the same folder as this jade file.</p>
  
  <p>When I do view page source the html is:</p>
  
  <pre><code>body {
  font-family: "Josefin Slab" !important;
  background-image: url("concursum-bg.jpg");
  background-size: cover;
  color: white;
  text-align: center;
  background-repeat: no-repeat;
  }
  </code></pre>
  
  <p>I'm running this on localhost if that matters.</p>