repl.it
@MATTHEWBECHTEL/

TechnicalVariableArguments

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <style>

.lead {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    list-style-type: none;
}


.head_section {
    float: left;
}

.head_section a{
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.head_section a:hover{
    background-color: #111;
}


.dropdown-content {
  margin:0;
       padding:0;
    display:none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  margin:0;
  padding:0;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dpdct:hover .dropdown-content {
    display: block;
}
    </style>    
  </head>
  <body>
    <div class="head">
       <ol class="lead">
         <li class="head_section" ><a href="#" target="_blank">log in</a></li>
         <li class="head_section" ><a href="#" target="_blank">zhuce</a></li>
         <li class="head_section" ><a href="#" target="_blank">help</a></li>
         <li class="head_section" ><a href="#" target="_blank">language</a></li>
         <div class="dropdown-content">
             <a href="#">zhongwen</a>
             <a href="#">English</a>
           </div>
           
         
       </ol>
    </div>
  </body>
</html>
result
console