using .remove() or .detach() after .animate()

using .remove() or .detach() after .animate()

 Hi Folks,

if I try something like $('<div></div>').css({...}).animate({}).appenTo('body').fadeIn();
that works as it should.

But if I chain a "remove()" or "detach()" after the animate(), it does not work at all.

My goal is obviously to create a new element, display anything in it, let it disappear and finally
remove it from the DOM.