title: Can I fade in a background image (CSS: background-image) with jQuery?
body: <p>I have a <code>div</code> element with text in it and a background image, which is set via the CSS property <code>background-image</code>. Is it possible to fade in the background image via jQuery?</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>div {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/84/Konqi_svg.svg);
    border: 1px solid #666;
    height: 10em;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;Text&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I've made a <a href="http://jsfiddle.net/aknuds1/Tz6Q3/1/" rel="noreferrer">fiddle</a> exemplifying my scenario. Basically, this configures an initial <code>background-image</code> and a <code>transition</code>, and changes the <code>background-image</code> with jQuery. In my testing there is no animated transition between the two images.</p>
  
  <p><strong>EDIT2</strong></p>
  
  <p>My revised <a href="http://jsfiddle.net/aknuds1/Tz6Q3/4/" rel="noreferrer">fiddle</a> works! </p>