An open API service indexing awesome lists of open source software.

https://github.com/oskarrough/rough-dropdown

Component for easy dropdowns
https://github.com/oskarrough/rough-dropdown

web-components

Last synced: about 2 months ago
JSON representation

Component for easy dropdowns

Awesome Lists containing this project

README

          

# Rough: Dropdown
This component provides two things:

1. Low-level CSS for dropdowns
2. 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.

## Installation
* [Bower](http://bower.io/): `bower install --save rough-dropdown`
* Download: [zip](https://github.com/oskarrough/rough-dropdown/zipball/master)
* Git: `git clone https://github.com/oskarrough/rough-dropdown.git`

## Get started
1. Reference jQuery and ``
2. Reference ``
3. You will need a container with the classes: `Nav` and `Nav--dropdown`
4. Call the plugin using using `$('.Nav--dropdown').roughDropdown();`