Line 10: | Line 10: | ||
/********************************* MENU ********************************/ | /********************************* MENU ********************************/ | ||
+ | |||
+ | div.panel { | ||
+ | padding: 0 18px; | ||
+ | background-color: white; | ||
+ | max-height: 0; | ||
+ | overflow: hidden; | ||
+ | transition: 0.6s ease-in-out; | ||
+ | opacity: 0; | ||
+ | } | ||
+ | |||
+ | div.panel.show { | ||
+ | opacity: 1; | ||
+ | max-height: 500px; /* Whatever you like, as long as its more than the height of the content (on all screen sizes) */ | ||
+ | } | ||
+ | |||
/* Wrapper for the menu */ | /* Wrapper for the menu */ | ||
.menu_wrapper { | .menu_wrapper { |
Revision as of 22:09, 11 August 2016