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
- Host: GitHub
- URL: https://github.com/oskarrough/rough-dropdown
- Owner: oskarrough
- License: mit
- Created: 2013-01-07T11:16:46.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-14T09:22:02.000Z (about 13 years ago)
- Last Synced: 2026-03-05T12:33:31.418Z (3 months ago)
- Topics: web-components
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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();`