@FarisPalayi
Posted
Yes, @claudiabdm is right. You can't animate the display
property.
But, you could give a delay before display: none;
and run whatever animation you want to run before the delay with the help of the setTimeout()
method using javascript.
Marked as helpful
@tarek-mo
Posted
@FarisPalayi this could actually work. Thanks friend!