This component provides two things:
- Low-level CSS for dropdowns
- Script to change dropdowns from hover to click
The CSS is divided into necessary and "makeup" styles so you can delete what you don't need.
- Bower:
bower install --save rough-dropdown
- Download: zip
- Git:
git clone https://github.com/oskarrough/rough-dropdown.git
- Reference jQuery and
<script src="rough-dropdown.js"></script>
- Reference
<link rel="stylesheet" href="rough-dropdown.css">
- You will need a container with the classes:
Nav
andNav--dropdown
- Call the plugin using using
$('.Nav--dropdown').roughDropdown();