Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTMl
- ------------------------------
- <body>
- <header>
- <div class="imagelogo">
- <a href="index.html"><img src="img/logo.png" alt="logo"></a>
- </div>
- <div class="nav">
- -------------------------------
- CSS
- .nav img {
- float: left;
- z-index:+1;
- }
- .nav ul {
- list-style: none;
- background-color: black;
- text-align: right;
- padding: 0;
- margin: auto;
- width: 70%;
- box-shadow: 0 0 60px;
- }
- .imagelogo
- {
- position:absolute;
- top: 8px;
- left:230px;
- }
- .nav a {
- text-decoration: none;
- color: #fff;
- display: block;
- transition: .3s background-color;
- text-align: center;
- padding-top: 40px;
- padding-bottom: 40px;
- }
- .nav a:hover {
- background-color:orange;
- }
- .nav active {
- background-color: #fff;
- color: #444;
- }
- .nav li {
- width: 120px;
- border-bottom: none;
- line-height: 50px;
- font-size: 2.4em;
- display: inline-block;
- margin-right: 10px;
- font-family: 'Khand', sans-serif;
- line-height: 0px;
- height: 79px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement