Large menu pattern
How do I make an large menu pattern?
Simple responsive menu pattern for sites with TONS of links in nav. What is a large menu pattern? How do you make a large menu pattern? This script and codes were developed by Niels Oeltjen on 08 September 2022, Thursday.
Large menu pattern - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Large menu pattern</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <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="menu-open menu-button"><a href="#">Menu</a></div>
<div id="menu"> <div class="menu-close menu-button"><a href="#">Close</a></div> <div id="menu-inner"> <div id="menu-filter"><input type="search" placeholder="filter"></div> <nav> <ul> <li> <h2>Hypermagic Mountain</h2> <ul> <li><a href="#">2 Morro Morro Land</a></li> <li><a href="#">Captain Caveman</a></li> <li><a href="#">Birdy</a></li> <li><a href="#">Riffwraiths</a></li> <li><a href="#">Megaghost</a></li> <li><a href="#">Magic Mountain</a></li> <li><a href="#">Dead Cowboy</a></li> <li><a href="#">Bizarro Zarro Land</a></li> <li><a href="#">Mohawkwindmill</a></li> <li><a href="#">Bizarro Bike</a></li> <li><a href="#">Infinity Farm</a></li> <li><a href="#">No Rest for the Obsessed</a></li> <li><a href="#">2 Morro Morro Land</a></li> <li><a href="#">Captain Caveman</a></li> <li><a href="#">Birdy</a></li> <li><a href="#">Riffwraiths</a></li> <li><a href="#">Megaghost</a></li> <li><a href="#">Magic Mountain</a></li> <li><a href="#">Dead Cowboy</a></li> <li><a href="#">Bizarro Zarro Land</a></li> <li><a href="#">Mohawkwindmill</a></li> <li><a href="#">Bizarro Bike</a></li> <li><a href="#">Infinity Farm</a></li> <li><a href="#">No Rest for the Obsessed</a></li> <li><a href="#">2 Morro Morro Land</a></li> <li><a href="#">Captain Caveman</a></li> <li><a href="#">Birdy</a></li> <li><a href="#">Riffwraiths</a></li> <li><a href="#">Megaghost</a></li> <li><a href="#">Magic Mountain</a></li> <li><a href="#">Dead Cowboy</a></li> <li><a href="#">Bizarro Zarro Land</a></li> <li><a href="#">Mohawkwindmill</a></li> <li><a href="#">Bizarro Bike</a></li> <li><a href="#">Infinity Farm</a></li> <li><a href="#">No Rest for the Obsessed</a></li> <li><a href="#">2 Morro Morro Land</a></li> <li><a href="#">Captain Caveman</a></li> <li><a href="#">Birdy</a></li> <li><a href="#">Riffwraiths</a></li> <li><a href="#">Megaghost</a></li> <li><a href="#">Magic Mountain</a></li> <li><a href="#">Dead Cowboy</a></li> <li><a href="#">Bizarro Zarro Land</a></li> <li><a href="#">Mohawkwindmill</a></li> <li><a href="#">Bizarro Bike</a></li> <li><a href="#">Infinity Farm</a></li> <li><a href="#">No Rest for the Obsessed</a></li> </ul> </li> <li> <h2>Wonderful Rainbow</h2> <ul> <li><a href="#">Hello Morning</a></li> <li><a href="#">Assassins</a></li> <li><a href="#">Dracula Mountain</a></li> <li><a href="#">2 Towers</a></li> <li><a href="#">On Fire</a></li> <li><a href="#">Crown of Storms</a></li> <li><a href="#">Longstockings</a></li> <li><a href="#">Wonderful Rainbow</a></li> <li><a href="#">30,000 Monkies</a></li> <li><a href="#">Duel in the Deep</a></li> <li><a href="#">Hello Morning</a></li> <li><a href="#">Assassins</a></li> <li><a href="#">Dracula Mountain</a></li> <li><a href="#">2 Towers</a></li> <li><a href="#">On Fire</a></li> <li><a href="#">Crown of Storms</a></li> <li><a href="#">Longstockings</a></li> <li><a href="#">Wonderful Rainbow</a></li> <li><a href="#">30,000 Monkies</a></li> <li><a href="#">Duel in the Deep</a></li> <li><a href="#">Hello Morning</a></li> <li><a href="#">Assassins</a></li> <li><a href="#">Dracula Mountain</a></li> <li><a href="#">2 Towers</a></li> <li><a href="#">On Fire</a></li> <li><a href="#">Crown of Storms</a></li> <li><a href="#">Longstockings</a></li> <li><a href="#">Wonderful Rainbow</a></li> <li><a href="#">30,000 Monkies</a></li> <li><a href="#">Duel in the Deep</a></li> <li><a href="#">Hello Morning</a></li> <li><a href="#">Assassins</a></li> <li><a href="#">Dracula Mountain</a></li> <li><a href="#">2 Towers</a></li> <li><a href="#">On Fire</a></li> <li><a href="#">Crown of Storms</a></li> <li><a href="#">Longstockings</a></li> <li><a href="#">Wonderful Rainbow</a></li> <li><a href="#">30,000 Monkies</a></li> <li><a href="#">Duel in the Deep</a></li> <li><a href="#">Hello Morning</a></li> <li><a href="#">Assassins</a></li> <li><a href="#">Dracula Mountain</a></li> <li><a href="#">2 Towers</a></li> <li><a href="#">On Fire</a></li> <li><a href="#">Crown of Storms</a></li> <li><a href="#">Longstockings</a></li> <li><a href="#">Wonderful Rainbow</a></li> <li><a href="#">30,000 Monkies</a></li> <li><a href="#">Duel in the Deep</a></li> </ul> </li> <li> <h2>Earthly Delights</h2> <ul> <li><a href="#">Sound Guardians</a></li> <li><a href="#">Nation of Boar</a></li> <li><a href="#">Colossus</a></li> <li><a href="#">The Sublime Freak</a></li> <li><a href="#">Flooded Chamber</a></li> <li><a href="#">Funny Farm</a></li> <li><a href="#">Rain on Lake I'm Swimming In</a></li> <li><a href="#">S.O.S.</a></li> <li><a href="#">Transmissionary</a></li> <li><a href="#">Sound Guardians</a></li> <li><a href="#">Nation of Boar</a></li> <li><a href="#">Colossus</a></li> <li><a href="#">The Sublime Freak</a></li> <li><a href="#">Flooded Chamber</a></li> <li><a href="#">Funny Farm</a></li> <li><a href="#">Rain on Lake I'm Swimming In</a></li> <li><a href="#">S.O.S.</a></li> <li><a href="#">Transmissionary</a></li> <li><a href="#">Sound Guardians</a></li> <li><a href="#">Nation of Boar</a></li> <li><a href="#">Colossus</a></li> <li><a href="#">The Sublime Freak</a></li> <li><a href="#">Flooded Chamber</a></li> <li><a href="#">Funny Farm</a></li> <li><a href="#">Rain on Lake I'm Swimming In</a></li> <li><a href="#">S.O.S.</a></li> <li><a href="#">Transmissionary</a></li> <li><a href="#">Sound Guardians</a></li> <li><a href="#">Nation of Boar</a></li> <li><a href="#">Colossus</a></li> <li><a href="#">The Sublime Freak</a></li> <li><a href="#">Flooded Chamber</a></li> <li><a href="#">Funny Farm</a></li> <li><a href="#">Rain on Lake I'm Swimming In</a></li> <li><a href="#">S.O.S.</a></li> <li><a href="#">Transmissionary</a></li> <li><a href="#">Sound Guardians</a></li> <li><a href="#">Nation of Boar</a></li> <li><a href="#">Colossus</a></li> <li><a href="#">The Sublime Freak</a></li> <li><a href="#">Flooded Chamber</a></li> <li><a href="#">Funny Farm</a></li> <li><a href="#">Rain on Lake I'm Swimming In</a></li> <li><a href="#">S.O.S.</a></li> <li><a href="#">Transmissionary</a></li> </ul> </li> </ul> </nav> <div class="menu-close"><a href="#">X</a></div> </div>
</div>
<section> <h1>Lightning Bolt</h1> <h3>Simple responsive menu pattern for sites with TONS of links in nav</h3> <p> <span class="menu-open"><a href="#">Open menu</a></span> | <a href="https://codepen.io/Elbone/pen/kHApr" target="_top">View code</a> | <a href="https://codepen.io/Elbone/full/kHApr" target="_top">Full screen</a> </p> <p>Lightning Bolt is a noise rock duo from Providence, Rhode Island, composed of Brian Chippendale on drums and vocals and Brian Gibson on bass guitar. The group's discography consists of five full-length albums and a number of 7-inch singles and splits. Lightning Bolt have also appeared on numerous compilations, starred in the 2003 tour-DVD <i>The Power of Salad</i>, and performed in DVD compilations such as <i>Pick a Winner</i> (Load Records, 2004) and <i>Sleep When You are Dead</i> by performance artists Mighty Robot (Contact Records, 2007).</p> <p>— <a href=http://en.wikipedia.org/wiki/Lightning_Bolt_(band)>Wikipedia</a></p>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Large menu pattern - Script Codes CSS Codes
/* Global */
@import url(https://fonts.googleapis.com/css?family=Droid+Sans+Mono);
/* Menu */
#menu { padding: 20px; color: #c0ffee; /* Drink up! */ position: absolute; top: 0; left: 0; width: 100%;
}
.menu-button a { padding: 8px 20px; background: #191919; border-radius: 2px; display: inline-block;
}
#menu nav a:hover { color: #ca2be3;
}
#menu.hide { display: none;
}
#menu-inner { padding: 1em; border-radius: 3px; background: #191919; margin-top: -4px;
}
#menu nav:after,
#menu nav > ul > li > ul:after { content: ""; display: table; clear: both;
}
#menu nav li { padding: 2px 4px;
}
#menu nav > ul > li { padding: 1em;
}
#menu nav > ul > li > ul > li { float: left; width: 20%;
}
#menu-filter { text-align: center; margin: 1em 0 2em 0;
}
/* Tweak layout */
@media only screen
and (max-width: 500px) { #menu nav > ul > li > ul > li { width: 50%; }
}
@media only screen
and (min-width: 501px)
and (max-width: 800px) { #menu nav > ul > li > ul > li { width: 33%; }
}
@media only screen
and (min-width: 801px)
and (max-width: 1200px) { #menu nav > ul > li > ul > li { width: 20%; }
}
@media only screen
and (min-width: 1201px) { #menu nav > ul > li > ul > li { width: 12.5%; }
}
/* Layout */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
html { overflow-y: scroll;
}
body { background: #c0ffee; color: #191919; font-family: 'Droid Sans Mono', sans-serif; font-size: 12px; line-height: 20px; padding: 20px; text-align: center;
}
h1 { font-size: 18px; margin: 0 0 20px 0;
}
h1:before, h1:after { content: "\20\26A1\20";
}
h2 { font-size: 14px; margin: 0 0 8px 0; padding: 0 0 6px 0; border-bottom: 1px solid; text-transform: uppercase;
}
h3 { font-size: 12px; margin: 0 0 8px 0; font-weight: bold;
}
p { margin: 0 0 8px 0;
}
a { color: #decaff; /* Drink up! */ text-decoration: none;
}
section { max-width: 600px; margin: 40px auto 0 auto;
}
Large menu pattern - Script Codes JS Codes
/* NOTE: Filtering js not included */
// Define menu
var menu = '#menu';
// Hide menu
$(menu).addClass('hide');
// Open menu
$('.menu-open a').click(function(e) { e.preventDefault; $(menu).fadeIn(200);
});
// Close menu
$('.menu-close a').click(function(e) { e.preventDefault; $(menu).fadeOut(200);
});
Developer | Niels Oeltjen |
Username | NielsOeltjen |
Uploaded | September 08, 2022 |
Rating | 4.5 |
Size | 3,695 Kb |
Views | 34,408 |
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 |
Simple spinner | 1,810 Kb |
Loading animation | 2,298 Kb |
Pretty css spinner | 1,792 Kb |
Prose.io repo icon | 2,162 Kb |
Text as background | 2,292 Kb |
CSS only audio player UI | 3,325 Kb |
Layout states using jQuery and Data Attributes | 3,078 Kb |
Animated background colours | 1,979 Kb |
Semantic vertical centering | 2,394 Kb |
Multiple SVG icons in one file | 2,149 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 |
SVG email test v2.0 | M_J_Robbins | 2,090 Kb |
Client-side Email Validation | Collizo4sky | 1,538 Kb |
Beautiful canvas stars | Matths | 2,399 Kb |
Price | Catcode | 2,623 Kb |
A Pen by lizz | Lizz | 10,068 Kb |
Cloudy Spiral CSS animation | Hakimel | 6,587 Kb |
Growing Root - Scroll control - CANVAS | Cjonasw | 2,342 Kb |
Exploding Text | Jjmartucci | 4,749 Kb |
Fellowship of the Ring | Aussieyang | 2,639 Kb |
Scroll Arrow | Robooneus | 4,437 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!