title: How to Resize an Image in Body CSS
body: <p>I'm trying to resize the body image of my site so that it doesn't take up the whole page. How do I resize it? I'm not sure of the code so I just have the image URL displayed. I want it so that white space shows beneath the image declaring its max height and not so it spans the 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-css lang-css prettyprint-override"><code>body {
    background-image: url(C:/Users/Gabriel/Downloads/Green-blur.jpg);
    background-repeat: none;
    font-family: "PT Sans", sans-serif;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
  
    &lt;div class="container-fluid"&gt;
  
      &lt;ul id="nav"&gt;
        &lt;li id="brand"&gt;&lt;a href="#"&gt;MINIMAL&lt;/a&gt;&lt;/li&gt;
        &lt;li id="navm"&gt;&lt;a href="#"&gt;Men&lt;/a&gt;&lt;/li&gt;
        &lt;li id="navm"&gt;&lt;a href="#"&gt;Women&lt;/a&gt;&lt;/li&gt;
        &lt;li id="navm"&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  
    &lt;/div&gt;
  
    &lt;div&gt;
      &lt;h1&gt;Simplicity is Minimal&lt;/h1&gt;
    &lt;/div&gt;
  
    &lt;div id="home"&gt;
      &lt;a href="#" id="homeb"&gt;Shop Now&lt;/a&gt;
    &lt;/div&gt;
  
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>FIXED with background-repeat:none;</p>