Imagine a scenario where I have two forms. Once the user completes the first form, they can click continue to proceed to the second form. Currently, I am using fadein and fadeout effects to show both forms on a single page. However, I want to switch to a transform effect instead. For example, if the second form's box is larger than the first form's box, I would like the first form to grow into the size of the second box after submission before displaying the next content.
I am unsure what this type of effect is called, and despite my efforts in searching for a solution, I have only come across fade effects and irrelevant plugins like rotate. Do you have any ideas on how I can achieve this transforming effect for containers? Thank you.