Can anyone suggest css based mega menu, which slides down the web site below menu (when opened) and slides up the web site when menu is closed. Or how this type of menu can be built.
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
can use css transitions. but without javascript you cannot trigger the animation by mouseclick.
when you add
.slidedownclass to menu, it will slide down. when remove – slide uphttp://jsfiddle.net/TXkWB/
updated (20 mar 2014):
There is possibility to open menu using only css (http://jsfiddle.net/RMfSB/). It is probably useless because menu will close after loose focus, but it works.