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

Line 14: Line 14:
 
.igem_2018_team_menu.displaying_menu{
 
.igem_2018_team_menu.displaying_menu{
 
display:none;
 
display:none;
 +
}
 +
 +
/*for drop down function*/
 +
.dropdown {
 +
    position: relative;
 +
    display: inline-block;
 +
}
 +
 +
.dropdown-content {
 +
    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;
 +
}
 +
 +
.dropdown:hover .dropdown-content {
 +
    display: block;
 
}
 
}

Revision as of 15:07, 28 May 2018

.extra_space{ display:none; }

.igem_2018_team_column_wrapper{ width:1440px; }

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

/*for drop down function*/ .dropdown {

   position: relative;
   display: inline-block;

}

.dropdown-content {

   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;

}

.dropdown:hover .dropdown-content {

   display: block;

}