Mission: To animate a boxes background color from original to color to original var originalBG = $(".animate").css("background-color"); var fadeColor = "#CCCCCC"; $(".animate").hover( function () { $(this) .animate( { backgroundColor:fadeColor}, 750 ) .animate( { backgroundColor:originalBG}, 750 ) }, function () { } );
I am a fancy box that fades!