Minimal Hover Menu
How do I make an minimal hover menu?
Just a simple hover menu implementation using a nice an quick jQuery effect. . What is a minimal hover menu? How do you make a minimal hover menu? This script and codes were developed by Brock Nunn on 06 January 2023, Friday.
Minimal Hover Menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Minimal Hover Menu</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav id="nav" class="navigation"> <ul> <li class="current_page_item"><a href="#">Home</a></li> <li><a href="">About</a> <ul> <li><a href="">Page 1</a></li> <li><a href="">Page 2 With More</a></li> <li><a href="">Page 3</a></li> </ul> </li> <li><a href="">Products</a></li> <li><a href="">Blog</a></li> <li><a href="">Contact</a> <ul> <li><a href="">Page 1</a></li> <li><a href="">Page 2 With More</a></li> <li><a href="">Page 3</a></li> </ul> </li> </ul>
</nav> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Minimal Hover Menu - Script Codes CSS Codes
/* Default Colors */
body { background: #2a333b;
}
#nav { margin-top: 2.5em;
}
#nav ul li { display: inline-block; padding: 1em; font-size: 1.15em;
}
#nav ul li.current_page_item a { border-top: 0.35em solid #ff3a2e;
}
#nav ul li:last-child { padding-right: 0;
}
#nav ul li ul { display: none; margin: 0; padding: 0; position: absolute; background: #fff; padding: .5em; margin-top: .75em; margin-left: 0em; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.35); border-radius: .25em;
}
#nav ul li ul:before { content: ""; position: absolute; top: -8px; left: 5%; width: 0px; height: 0px; border-style: solid; border-width: 0 5px 8px 5px; border-color: transparent transparent #ffffff transparent;
}
#nav ul li ul li { display: block; margin: 0; padding: 0;
}
#nav ul li ul li a { font-weight: normal; font-size: .65em; color: #5f7385; padding: .5em; display: block; border-radius: .25em;
}
#nav ul li ul li a:hover { border-top: none; color: #2a333b; background: #eaeaea;
}
#nav ul li ul li a:active { position: relative; top: 1px;
}
#nav ul li a { color: #fff; text-transform: uppercase; font-weight: bold; text-decoration: none; padding-top: 1em;
}
#nav ul li a:hover { border-top: 0.35em solid #1f262c; color: #d9d9d9;
}
Minimal Hover Menu - Script Codes JS Codes
// USER SCRIPTS
$("#nav li").hover(function() { $(this).find("ul").slideToggle("fast"); });
$(".navigation").tinyNav({ active: 'selected', header: 'Navigation', label: ''
});
Developer | Brock Nunn |
Username | banunn |
Uploaded | January 06, 2023 |
Rating | 4.5 |
Size | 3,203 Kb |
Views | 4,048 |
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 |
Super Simple Slideshow | 2,639 Kb |
Simple Article Layout | 6,842 Kb |
Article Cards | 4,487 Kb |
Angular Users Application | 5,151 Kb |
Pixel Perfect Buttons Without PSD | 3,828 Kb |
Modern Web Button | 3,264 Kb |
Flat UI Alert | 3,325 Kb |
Pop Up Question Form | 3,391 Kb |
A Pen by Brock Nunn | 2,557 Kb |
Off Canvas Navigation | 6,894 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 |
Drag n Drop | Martin42 | 2,594 Kb |
A Pen by Eka Risyana | Risyana | 3,705 Kb |
Rain Landing in a Pond | Edball | 3,009 Kb |
Navcube | Wbarlow | 4,775 Kb |
Login with flip 3d animation | Mariusbalaj | 3,014 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Simple Responsive Text | Fbrz | 2,282 Kb |
Sticky div | Kaslab | 2,225 Kb |
Part 19 Bootstrap split button dropdown | Venkatesha | 1,601 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!