Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* IMASTERS:: http://forum.imasters.com.br/topic/525121-menu-horizontal-algo-esta-errado/
- */
- *{
- margin: 0; left: 0;
- }
- nav {
- width: 100%;
- box-shadow: 0 0 6px #ccc;
- min-width: 980px;
- }
- nav,
- nav ul {
- height: 50px;
- max-height: 50px;
- }
- nav ul {
- list-style: none;
- display: block;
- width: 90%;
- margin: 0 auto;
- }
- nav ul li,
- nav ul li a {
- display: inline-block;
- }
- nav ul li {
- float: left;
- border-right: 1px solid #eee;
- }
- nav ul li:last-child {
- border-right: none;
- }
- nav ul li::after {
- content: "";
- visibility: none;
- clear: both;
- }
- nav ul li a {
- text-decoration: none;
- color: #333;
- font-weight: bold;
- padding: 15px;
- }
- nav ul li a:hover {
- background: #faf6eb;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement