Difference between revisions of "Team:DTU-Denmark"

Line 166: Line 166:
 
     margin: auto;
 
     margin: auto;
 
}
 
}
 +
 +
/*makes nav bar choices float next to each other*/
  
 
.dropdown {
 
.dropdown {
Line 185: Line 187:
 
   font-size: 1em;
 
   font-size: 1em;
 
   font-family: sans-serif, "Times New Roman", Times, serif;
 
   font-family: sans-serif, "Times New Roman", Times, serif;
 +
}
 +
 +
/*hides dropdown choices, sets background and shadows. makes sure that the width is not less than the width of the nav bar choice buttons*/
 +
 +
.dropdown-content {
 +
  -webkit-transition: background 1.5s; /* Safari */
 +
  transition: background 1.5s;
 +
  display: none;
 +
  position: absolute;
 +
  background-color: transparent;
 +
  min-width: 200px;
 +
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 +
  z-index: 1;
 
}
 
}
  

Revision as of 17:45, 16 July 2017