1.0.8 • Published 9 years ago
hamfull-menu
Licence
GPL-3.0
Version
1.0.8
Deps
0
Vulns
0
Weekly
0
hamfull
An hamburger-like menu, when you click over it the menu appears in fullwindow. No javascript libraries requested. Written in SASS.


Demo & Examples
You can found a demo page in this repository.
To get it locally:
git clone https://github.com/NeckersBOX/hamfull-menu
than open demo.html in your browser.
Installation
There are three ways to get hamfull:
- Clone this git repository and copy the minified css
hamfull.min.cssinside your project. - Configure the options inside
_config.scssthan dogulp sass. - With npm
npm install --save hamfull-menu.
Usage
First step, link to the css file.
<link rel="stylesheet" href="/path/to/hamfull.min.css" />
Next step, build your menu:
<input type="checkbox" id="hamfull-expand" />
<label class="hamfull" for="hamfull-expand">
<i class="material-icons">menu</i>
<ul>
<li><a href="#">page..</a></li>
<li><a href="#">page..</a></li>
...
</ul>
</label>
The first input and the label tags were here for this reason. Instead of material-icons you can use every library you want, the only important thing is to use always the <i></i> tag.
Notes
To configure the style (color, animations duration, ...) see the sass/_config.scss file.