Difference between revisions of "Template:Alverno CA"

Line 11: Line 11:
 
/********************************* 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 */
Line 89: Line 76:
 
list-style-type:none;  
 
list-style-type:none;  
 
cursor:pointer;  
 
cursor:pointer;  
-webkit-transition: all 0.4s ease;  
+
  -webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.4s ease;  
+
  -moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.4s ease;
+
  -ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
  transition: all 0.5s ease-in-out;
 
}
 
}
  

Revision as of 22:11, 11 August 2016