active (could be anything) class from quote container element (
quote-container) when ajax starts
- Show some progress during ajax call
active class to container again using JS when ajax finished
and in your css:
transition: opacity 1s ease-out;
I hope you get the idea. For complex transitions or animations there are third-party libs available but i would not recommend using these until you get idea of transitions/animations yourself.