Line 63: | Line 63: | ||
} | } | ||
− | ul { | + | #nav ul { |
list-style-type: none; | list-style-type: none; | ||
margin: 0; | margin: 0; | ||
Line 71: | Line 71: | ||
} | } | ||
− | li { | + | #nav li { |
float: left; | float: left; | ||
} | } | ||
− | li a, .dropbtn { | + | #nav li a, .dropbtn { |
display: inline-block; | display: inline-block; | ||
color: white; | color: white; | ||
Line 83: | Line 83: | ||
} | } | ||
− | li a:hover, .dropdownlist:hover .dropbtn { | + | #nav li a:hover, #nav .dropdownlist:hover .dropbtn { |
background-color: red; | background-color: red; | ||
} | } | ||
− | li.dropdownlist { | + | #nav li.dropdownlist { |
display: inline-block; | display: inline-block; | ||
} | } | ||
− | .dropdown_content { | + | #nav .dropdown_content { |
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
Line 100: | Line 100: | ||
} | } | ||
− | .dropdown_content a { | + | #nav .dropdown_content a { |
color: black; | color: black; | ||
padding: 12px 16px; | padding: 12px 16px; | ||
Line 108: | Line 108: | ||
} | } | ||
− | + | #nav .dropdown_content a:hover { | |
background-color: #f1f1f1 | background-color: #f1f1f1 | ||
} | } | ||
− | + | #nav .dropdownlist:hover .dropdown_content { | |
display: block; | display: block; | ||
} | } |
Revision as of 09:20, 21 June 2017