+ 2

How to add transition to my code while opening the menu?

How can i add transition to my code to open the menu smoothly? ( i am a newbie, i just need explaination) This is the link of my code : https://code.sololearn.com/W5FGc2Rcds7I/?ref=app

12th May 2020, 12:51 PM
Karan Rajput
Karan Rajput - avatar
2 Réponses
+ 6
Hello there :)) Check this out : https://code.sololearn.com/WXvU806ezC7J/?ref=app However, you can improve the architecture of the code :))
12th May 2020, 1:36 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
You can't animate the css display property. Try using opacity or height or any other animate-able property
12th May 2020, 1:27 PM
Ore
Ore - avatar