Line 26: | Line 26: | ||
<style> | <style> | ||
− | nav | + | nav ul { |
list-style-type: none; | list-style-type: none; | ||
margin: 0; | margin: 0; | ||
Line 34: | Line 34: | ||
} | } | ||
− | nav | + | nav li { |
float: left; | float: left; | ||
} | } | ||
− | nav | + | nav li a, .dropbtn { |
display: inline-block; | display: inline-block; | ||
color: white; | color: white; | ||
Line 46: | Line 46: | ||
} | } | ||
− | nav | + | nav li a:hover, .dropdown:hover .dropbtn { |
background-color: red; | background-color: red; | ||
} | } | ||
− | nav | + | nav li.dropdown { |
display: inline-block; | display: inline-block; | ||
} | } |
Revision as of 13:06, 27 September 2016