title: Changing size of a loading gif
body: <p>I have the code below as loading gif for my webpage but was wondering how I could make the size of the gif smaller? Every time I try to change the size it changes the size of the entire thing and not the gif itself.</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-js lang-js prettyprint-override"><code>$(window).load(function() {
      setTimeout(function(){
              $('.loader').fadeOut('slow', function () {
              });
          },1000);
  })</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.loader {
      position: fixed;
      left: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
      z-index: 9999;
      background: url('http://bosonprotein.com/onewebmedia/Magiska%20Bollar.gif') 50% 50% no-repeat rgb(0,0,0);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="loader"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>