HANSONGTSENG (Talk | contribs) |
HANSONGTSENG (Talk | contribs) |
||
Line 12: | Line 12: | ||
background-color: white; | background-color: white; | ||
box-shadow: 0 10px 20px -5px gray; | 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; | ||
} | } |
Revision as of 11:24, 28 May 2018
.igem_2018_team_content { background-color:white; display:block; width: 100%; } .igem_2018_team_menu.displaying_menu{ display:none; }
nymu_menu{ height: 50px; 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;
}