Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- }
- header {
- width: 100%;
- height: 100px;
- background-color: gray;
- }
- #header-wrapper {
- width: 80%;
- margin: 0 auto;
- }
- ul li {
- display: inline-block;
- list-style-type: none;
- }
- a {
- padding: 20px 40px;
- background-color: black;
- text-decoration: none;
- font-family: Arial;
- font-size: 15px;
- text-transform: uppercase;
- color: white;
- }
- a:hover {
- background-color: rgb(70, 70, 70);
- }
- h1 {
- float: left;
- font-family: Arial;
- font-size: 35px;
- color: white;
- font-weight: 800;
- margin-top: 25px;
- }
- nav {
- margin-top: 50px;
- float: right;
- }
- #dropdown-content {
- position: absolute;
- display: none;
- margin-top: 19px;
- }
- #dropdown-content a {
- border-bottom: white solid 1px;
- line-height: 30px;
- text-align: center;
- display: block;
- width: 134px;
- padding: 10px;
- }
- #dropdown-content a:hover {
- background-color: rgb(120, 120, 120);
- }
- #dropdown:hover #dropdown-content {
- display: block;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement