|
|
Line 1: |
Line 1: |
− | <html>
| |
− | <head>
| |
− | <meta charset="utf-8">
| |
− | <meta http-equiv="X-UA-Compatible" content="IE=edge">
| |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| |
| | | |
− | <link href="css/bootstrap.min.css" rel="stylesheet">
| |
− |
| |
− | <style>
| |
− | #navbar{
| |
− |
| |
− |
| |
− |
| |
− | ul {
| |
− | position: fixed;
| |
− | top: 0;
| |
− | width: 100%;
| |
− | }
| |
− | ul {
| |
− | list-style-type: none;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | ul {
| |
− | list-style-type: none;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | overflow: hidden;
| |
− | background-color: #6c5662;
| |
− | }
| |
− |
| |
− | li {
| |
− | float: right;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | li a, .dropbtn {
| |
− | display: inline-block;
| |
− | color: white;
| |
− | text-align: center;
| |
− | padding: 14px 16px;
| |
− | text-decoration: none;
| |
− | }
| |
− | li a:hover, .dropdown:hover .dropbtn {
| |
− | background-color: #ce7798;
| |
− | }
| |
− |
| |
− | li.dropdown {
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | .dropdown-content {
| |
− | display: none;
| |
− | position: absolute;
| |
− | background-color:#ce7798;
| |
− | min-width: 160px;
| |
− | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
| |
− | z-index: 1;
| |
− | }
| |
− |
| |
− | .dropdown-content a {
| |
− | color: black;
| |
− | padding: 12px 16px;
| |
− | text-decoration: none;
| |
− | display: block;
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | .dropdown-content a:hover {background-color: #ce7798}
| |
− |
| |
− | .dropdown:hover .dropdown-content {
| |
− | display: block;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | </style>
| |
− | </head>
| |
− | <body>
| |
− |
| |
− | <ul id="navbar">
| |
− | <li><a href="https://igem.org/Main_Page">iGEM</a></li>
| |
− | <li><a href="#">SAFETY</a></li>
| |
− | <li class="dropdown">
| |
− | <a href="#" class="dropbtn" >NOTEBOOK</a>
| |
− | <div class="dropdown-content">
| |
− | <a href="#">Description</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | </div>
| |
− | </li>
| |
− |
| |
− | <li><a href="#">TEAM</a></li>
| |
− | <li class="dropdown">
| |
− | <a href="javascript:void(0)" class="dropbtn">PARTS</a>
| |
− | <div class="dropdown-content">
| |
− | <a href="#">Description</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | </div>
| |
− | </li>
| |
− | <li class="dropdown">
| |
− | <a href="javascript:void(0)" class="dropbtn">HUMAN PRACTICES</a>
| |
− | <div class="dropdown-content">
| |
− | <a href="#">Description</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | </div>
| |
− | </li>
| |
− | <li class="dropdown">
| |
− | <a href="javascript:void(0)" class="dropbtn">PROJECT</a>
| |
− | <div class="dropdown-content">
| |
− | <a href="#">Description</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | <a href="#">header</a>
| |
− | </div>
| |
− | </li>
| |
− | </ul>
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | </body>
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | </html>
| |