Horizontal navigation
How do I make an horizontal navigation?
A horizontal navigaion with all items aligned next to eachother with a equal whitespace.. What is a horizontal navigation? How do you make a horizontal navigation? This script and codes were developed by Sander on 18 December 2022, Sunday.
Horizontal navigation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Horizontal navigation</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper boxShadow roundedCorners"> <div class="top roundedCornersTop"> </div> <ul class="navigation"> <li> <a href="" title="home">Home</a> </li> <li> <a href="" title="About us">About us</a> </li> <li> <a href="" title="Portfolio">Portfolio</a> </li> <li> <a href="" title="Contact">Contact</a> </li> <li class="break"></li> </ul> <div class="content"> <h1 class="pageTitle">Horizontal navigation</h1> <h2 class="pageSubTitle">Created only with CSS</h2> <p>A horizontal navigaion with all items aligned next to eachother with a equal whitespace.</p> <p>Developed for the modern browsers</p> </div>
</div>
</body>
</html>
Horizontal navigation - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900);
body { font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 300; line-height: 0.8em; color: #222; background: #e4e4e4;
}
p { margin: 0 0 20px 0;s
}
.boxShadow { -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
.roundedCorners { border-radius: 10px;
}
.roundedCornersTop { border-radius: 10px 10px 0 0;
}
.pageTitle { margin: 20px 0 0 0; font-size: 2em; font-weight: 700; line-height: 0.5em; color: #0C5E3B;
}
.pageSubTitle { margin: 0 0 20px 0; font-size: 1.4em; font-weight: 700; line-height: 2.2em; color: #454545;
}
.wrapper{ width: 80%; margin: 20px auto; background: #fff;
}
.top { min-height: 50px; padding: 20px; background: #249162;
}
.navigation { height: 40px; padding: 0 100px; font-weight: 500; line-height: 40px; text-transform: uppercase; text-align: justify; background: #222;
}
.navigation li{ display: inline-block;
}
.navigation a { text-decoration: none; color: #fff;
}
.navigation a:hover { color: #D36235;
}
.navigation .break{ width: 100%; height: 0;
}
.content { padding: 20px;
}
Developer | Sander |
Username | skeurentjes |
Uploaded | December 18, 2022 |
Rating | 3 |
Size | 2,183 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Sidenavigation | 3,421 Kb |
Side navigation | 3,043 Kb |
Card flip | 2,976 Kb |
Spinning loader | 2,038 Kb |
Accordion | 4,280 Kb |
Custom input radio buttons | 2,158 Kb |
Flexbox layout | 3,615 Kb |
Dropdown navigation | 3,158 Kb |
Search field | 2,280 Kb |
Automatic scroll | 4,042 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Highbrow Basic HTML Lesson 7 | Kimlarocca | 1,662 Kb |
Welcome | Nakome | 6,076 Kb |
Responsive Boxes without Images | Andymcfee | 4,120 Kb |
12 DAYS OF XMAS | Proto78 | 2,313 Kb |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Pericles mi loro... | Judag | 4,125 Kb |
Slider css only | Armandobau | 2,161 Kb |
Two column of responsive height | Fixie | 2,908 Kb |
Transitioning application screens with semantically named classes | Djgrant | 3,697 Kb |
Nice responsive team page | Infomiho | 3,139 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!