Difference between revisions of "Team:NYMU-Taipei/css-test"

Line 13: Line 13:
  
 
nymu_menu{
 
nymu_menu{
height: 50px;
+
height: 100px;
 
background-color: white;
 
background-color: white;
 
box-shadow: 0 10px 20px -5px gray;
 
box-shadow: 0 10px 20px -5px gray;

Revision as of 11:30, 28 May 2018

.extra_space{ display:none; }

.igem_2018_team_content { background-color:white; display:block; width: 100%; } .igem_2018_team_menu.displaying_menu{ display:none; }

nymu_menu{ height: 100px; background-color: white; box-shadow: 0 10px 20px -5px gray; }

.menu_item {

   position: relative;
   display: inline-block;

}

.submenu {

   display: none;
   position: absolute;
   background-color: #f9f9f9;
   min-width: 160px;
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   padding: 12px 16px;
   z-index: 1;

}

.menu_item:hover .submenu {

   display: block;

}