Chubby fullscreen menu with nice hamburger toggle
Install via bower:
bower install jquery-fatNav
Or you can add jquery.fatNav.css and jquery.fatNav.js manually to your project
Create the menu in your HTML:
<div class="fat-nav">
<div class="fat-nav__wrapper">
<ul>
<li><a href="#">Menu item</a></li>
<li><a href="#">Menu item</a></li>
<li><a href="#">Menu item</a></li>
<li><a href="#">Menu item</a></li>
</ul>
</div>
</div>
Call the javascript function:
$.fatNav();
Default state:
.hamburger .hamburger__icon,
.hamburger .hamburger__icon:before,
.hamburger .hamburger__icon:after {
background-color: red;
}
Close button state:
.hamburger.active .hamburger__icon:before,
.hamburger.active .hamburger__icon:after {
background-color: green;
}
git clone https://github.com/Glitchbone/jquery-fatNav.git my_project
npm install
grunt
Adrien Glitchbone
jQuery fatNav is available under the MIT license. See the LICENSE file for more information.