Line 1: | Line 1: | ||
− | |||
− | |||
body { | body { | ||
Line 66: | Line 64: | ||
display: block; | display: block; | ||
} | } | ||
− | |||
− | |||
− | |||
− |
Revision as of 01:08, 17 October 2018
body { color: pink; background-color: #fae3e6; }
.navbar { overflow: hidden; background-color: #eea2ad; }
.navbar a { float: left; float-size: 16px; color: #ffffff; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; }
.subnav { float: left; overflow: hidden; }
.subnav, .subnavbtn { font-size: 16px; border: none; outline: none; color: white; padding: 10px 10px; background-color: #eea2ad; font-family: inherit; margin: 2; }
.navbar a:hover, .subnav:hover .subnavbtn { background-color: #e26174; }
.subnav-content { display: none; position: absolute; left: 0; background-color: #f6cdd3; width: 100%; z-index: 1; }
.subnav-content a { float: left; color: white; text-decoration: none; }
.subnav-content a:hover { background-color: #e26174; color: black; }
.subnav:hover .subnav-content { display: block; }