So i'm trying to manipulate my background by fading it out on mouseleave.
But i cannot target it with jquery.
jQuery:
$("html").mouseleave(function(){
$('#intro').fadeTo('slow',0.67,function(){
$("#intro").css("background"); //attempting to target bg
});
});
CSS:
#intro{
background: url("images/overlay.png"), url("../../images/intro.jpg");
}
how do i target this background?