Jump to content

animate "close menu" onclick?


Jorgensen
 Share

Recommended Posts

hi

i have created a simple menu that uses the w3-animate-left class and opens when the menu icon i pressed. 

it work fine and looks nice - but when i close the menu i use onclick display:none - this makes the menu go away in a "hard" way. 

is there an easy way to animate the menu out again? 

thanks
jorgensen

Edited by Jorgensen
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...