Answer the question
In order to leave comments, you need to log in
Triggering an animation after removing the hidden property?
When the hidden class is removed, the animation does not play.
$(this).removeClass('hidden');
$(this).css('transform','translateY(0)');
console.log($( this ).css('transform'));;
$(this).removeClass('hidden');
$(this).css('transform','translateY(0)');
Answer the question
In order to leave comments, you need to log in
And so?
$(this).removeClass('hidden');
setTimeout(() => $(this).css('transform','translateY(0)'), 0);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question