I've been able to remove a class with a setTimeout(function(), but now it just removes instantly, so I was wondering on how I can make it fadout(); aswell.
setTimeout(function(){
$('.pagina-laden').removeClass('pagina-laden');
},2000);
.pagina-laden is the class where there is a background-image in css. But now I just need to fadeout out instead of abruptly vanishing. Thanks for the effort and help!
try
.delay()methodHeres a demo