Here is one link which play the color animation
Even i need some kind of fade-in and fade-out color animation with jQuery. I want when user click a button then my div will fade similar like stackoverflow.
I tried this way but i guess my effect is close to stackoverflow but not same. here is my code which i tried with CSS
$(window).bind( 'hashchange', function( event ){
var hash = '#'+event.fragment;
var originalcolor = $(hash).css('background-color');
$(hash).css('background-color', 'yellow');
setTimeout(function () {
$(hash).css('background-color', originalcolor);
}, 1500);
});