Burger is a minimal hamburger menu with fullscreen navigation. It is created by mblode.
This project officially requires zero external bower dependencies. Woo-hoo!
Several quick start options are available:
npm install the-burger
(recommended).git clone https://github.com/mblode/burger.git
.if you have cloned the repo or downloaded from .zip, there are a few steps you must take within the terminal.
cd burger
.npm install
.gem install scss-lint
.gulp
.gulp build
.The gh-pages branch is built using Jekyll and must therefore be install with gem install jekyll
.
git checkout gh-pages
.bower install
.jekyll serve
.localhost:4000/burger/
.These are the files that are generated from bower install burger
.
├── README.md
├── bower.json
└── dist
├── css
│ ├── burger..min.css
│ └── burger.min.css.map
├── index.html
├── scripts
│ ├── burger.js
│ ├── burger.min.js.map
│ └── burger.min.js
└── sass
└── burger.scss
<!-- Navigation -->
<div class="b-nav">
<li><a class="b-link b-link--active" href="#">Home</a></li>
<li><a class="b-link" href="#">About</a></li>
<li><a class="b-link" href="#">Portfolio</a></li>
<li><a class="b-link" href="#">Contact</a></li>
</div>
<!-- Burger-Icon -->
<div class="b-container">
<div class="b-menu">
<div class="b-bun b-bun--top"></div>
<div class="b-bun b-bun--mid"></div>
<div class="b-bun b-bun--bottom"></div>
</div>
<!-- Burger-Brand -->
<a href="#" class="b-brand">Burger</a>
</div>
Safari 6.1+
IE 10+
Firefox 29+
Chrome 26+
Opera 17+
Pull requests are the way to go.
Matthew Blode
MIT © Matthew Blode