Skip to content
Sign upLog in
← Back to Community
How can i add an animation to my dropdown menu?
Profile icon
Atomic-Gamming

How can I have the dropdown menu have animation and take 0.5 seconds to fully drop down?

Voters
Profile icon
Atomic-Gamming
Comments
hotnewtop
Profile icon
ApenasJogosEvid

You have ticket for dropdown menu? I need tiket for dropdown, a ticket normal i have.

Profile icon
[deleted]

Investigate CSS transitions and transforms: https://transitions.malvoliothegood.repl.co/

Profile icon
RayvelArjoon

I'm sorry, but I don't know. Have you considered moving your CSS and JS to separate files by using the link element and the script element:

<!DOCTYPE html> <html> <head> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <script src="script.js"></script> </body> </html>
Profile icon
Atomic-Gamming

@RayvelArjoon
yes but from me, it is easier to not