JQuery Background Fader

April 29, 2010
by James Brocklehurst
35 Comments

Animating {background-image} Opacity In JQuery Without Affecting Child Elements

When first learning JQuery I was frustrated at the inability to animate a simple fade-in fade-out on images set using the CSS background-image property. Workarounds involving the appending and fading of additional HTML elements have been around for a while … Continue reading