Jquery add animation to add/removeClass and clone/remove elements
By : user3351186
Date : March 29 2020, 07:55 AM
hop of those help? jQuery UI provides animated versions of .addClass() and removeClass(). As for animating when showing an element, you should go with fadeIn(), as you have. Be aware that fadeIn() ALREADY shows() such element, so doing something like $(element).show().fadeIn() is pointless, as when fadeIn() begins, the element will be already displayed, and $(element).fadeIn().show() is also pointless, as fadeIn(), on completion, will already fully display the element.