I'm using jQuery for append and remove a div on DOM.
I need a CSS method to fadeIn
and fadeOut
that div with a simple transition, (maybe also just opacity).
But what I need is to not use jQuery addClass
or animate
: just CSS!
Is it possible?
Maybe I can use animate.css library? But there is just fadeIn or fadeOut method, not both at the same time. And I cannot use javascript for adding/remove classes.