Mega Menu by Joni

Developer
Size
3,171 Kb
Views
14,168

How do I make an mega menu by joni?

Hope you like this mega menu. The goal is to be very minimal and only use CSS and HTML. I have seen tons of other examples but this is my version.. What is a mega menu by joni? How do you make a mega menu by joni? This script and codes were developed by Asakasinsky on 27 December 2022, Tuesday.

Mega Menu by Joni Previews

Mega Menu by Joni - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Mega Menu by Joni</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(http://weloveiconfonts.com/api/?family=entypo);
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
[class*="entypo-"]:before { font-family: 'entypo', sans-serif;
}
/* EDIT HERE FOR A DIFFERNET EFFECT */
nav { transform: translate3d(0,-125%,0);
}
body { font-family:'HelveticaNeue-Light', Roboto; background:#34aadc; color:#fff;
}
input[id*="nav"] { display:none;
}
input[id*="nav"] + label { display:block; color:#fff; width:45px; height:45px; text-align:center; line-height:45px; font-size:27px; cursor:pointer; user-select:none; transition:1s; z-index:1; position:absolute;
}
input[id*="nav"]:checked + label { color:#34aadc;
}
nav { position:absolute; top:0; left:0; width:100%; height:100%; background:#333; z-index:0; transition:.6s; backface-visibility:hidden;
}
input[id*="nav"]:checked ~ nav { transform: translate3d(0,0,0);
}
nav ul { float:left; padding-top:70px; padding-bottom:20px; width:33.3%;
}
nav ul h2 { padding:0 0 20px 70px; font-size:24px; color:#34aadc;
}
nav ul li { padding:4px 20px 4px 70px;
}
nav ul li a { color:#fff; text-decoration:none; font-size:14px; transition:.2s;
}
nav ul li a:hover { color:#34aadc;
}
#credits { position:absolute; bottom:50px; left:70px; color:#F33D6C;
}
#content { padding:100px 70px; font-size:51px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <input type="checkbox" id="nav"/> <label for="nav" class="entypo-menu"></label>
<div id="content"> Click the menu icon above to see the mega menu.
</div>
<nav> <ul> <h2>HTML</h2> <li><a href="#">Introduction</a></li> <li><a href="#">Editors</a></li> <li><a href="#">Basic</a></li> <li><a href="#">Elements</a></li> <li><a href="#">Attributes</a></li> <li><a href="#">Headings</a></li> <li><a href="#">Paragraphs</a></li> <li><a href="#">Formatting</a></li> </ul> <ul> <h2>CSS</h2> <li><a href="#">Introduction</a></li> <li><a href="#">Syntax</a></li> <li><a href="#">Id & Class</a></li> <li><a href="#">How To</a></li> <li><a href="#">Backgrounds</a></li> <li><a href="#">Text</a></li> <li><a href="#">Fonts</a></li> <li><a href="#">Links</a></li> <li><a href="#">Lists</a></li> <li><a href="#">Tables</a></li> </ul> <ul> <h2>JavaScript</h2> <li><a href="#">Introduction</a></li> <li><a href="#">How To</a></li> <li><a href="#">Output</a></li> <li><a href="#">Statements</a></li> <li><a href="#">Comments</a></li> <li><a href="#">Variables</a></li> <li><a href="#">Data Types</a></li> <li><a href="#">Objects</a></li> <li><a href="#">Functions</a></li> <li><a href="#">Operators</a></li> <li><a href="#">Comparisons</a></li> </ul> <div id="credits">100 hearts - 10 Dec 18:57 2013</div>
</nav> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Mega Menu by Joni - Script Codes CSS Codes

@import url(http://weloveiconfonts.com/api/?family=entypo);
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
[class*="entypo-"]:before { font-family: 'entypo', sans-serif;
}
/* EDIT HERE FOR A DIFFERNET EFFECT */
nav { transform: translate3d(0,-125%,0);
}
body { font-family:'HelveticaNeue-Light', Roboto; background:#34aadc; color:#fff;
}
input[id*="nav"] { display:none;
}
input[id*="nav"] + label { display:block; color:#fff; width:45px; height:45px; text-align:center; line-height:45px; font-size:27px; cursor:pointer; user-select:none; transition:1s; z-index:1; position:absolute;
}
input[id*="nav"]:checked + label { color:#34aadc;
}
nav { position:absolute; top:0; left:0; width:100%; height:100%; background:#333; z-index:0; transition:.6s; backface-visibility:hidden;
}
input[id*="nav"]:checked ~ nav { transform: translate3d(0,0,0);
}
nav ul { float:left; padding-top:70px; padding-bottom:20px; width:33.3%;
}
nav ul h2 { padding:0 0 20px 70px; font-size:24px; color:#34aadc;
}
nav ul li { padding:4px 20px 4px 70px;
}
nav ul li a { color:#fff; text-decoration:none; font-size:14px; transition:.2s;
}
nav ul li a:hover { color:#34aadc;
}
#credits { position:absolute; bottom:50px; left:70px; color:#F33D6C;
}
#content { padding:100px 70px; font-size:51px;
}
Mega Menu by Joni - Script Codes
Mega Menu by Joni - Script Codes
Home Page Home
Developer Asakasinsky
Username asakasinsky
Uploaded December 27, 2022
Rating 3
Size 3,171 Kb
Views 14,168
Do you need developer help for Mega Menu by Joni?

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!

Asakasinsky (asakasinsky) Script Codes
Create amazing art & images with AI!

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!