I am currently trying to achieve a unique visual effect. I have three divs named div1, div2, and div3. The objective is for div1 to slide up and disappear when clicked, while div2 simultaneously slides up and becomes visible.
Similarly, when div2 is clicked, it should slide up and vanish as div3 starts its ascent, appearing in the process. Unfortunately, I am struggling to implement this transition smoothly. Any assistance or guidance would be greatly welcomed!