This currently works:
$(document).ready(function() {
$('body').addClass('red').delay(50).queue(function(next){
$(this).removeClass('red').delay(50).queue(function(next2){
$(this).addClass('blue');
next2();
});
next();
});
But I'd like something more efficient. And plus, the code above becomes a headache when I start adding and removing more classes...