Difference between revisions of "Template:IISc-Bangalore"

Line 97: Line 97:
 
     padding: 14px 16px;
 
     padding: 14px 16px;
 
     background-color: inherit;
 
     background-color: inherit;
 +
}
 +
 +
.dropbtn {
 +
    position: fixed;
 +
}
 +
 +
.dropbtn span {
 +
    position: absolute;
 +
    height: 100;
 +
    width: 100%;
 +
    top: 0;
 +
    left: 0;
 
}
 
}
  
Line 153: Line 165:
  
 
   <div class="dropdown">
 
   <div class="dropdown">
     <button class="dropbtn">Hardware</button>
+
     <button class="dropbtn"><a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware><span></span</a>Hardware</button>
 
     <div class="dropdown-content">
 
     <div class="dropdown-content">
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/ABODe">ABODe</a>
 
       <a href="https://2017.igem.org/Team:IISc-Bangalore/Hardware/ABODe">ABODe</a>

Revision as of 13:09, 7 October 2017