Skip to content

oskarrough/rough-dropdown

Repository files navigation

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: bower install --save rough-dropdown
  • Download: zip
  • Git: git clone https://github.com/oskarrough/rough-dropdown.git

Get started

  1. Reference jQuery and <script src="rough-dropdown.js"></script>
  2. Reference <link rel="stylesheet" href="rough-dropdown.css">
  3. You will need a container with the classes: Nav and Nav--dropdown
  4. Call the plugin using using $('.Nav--dropdown').roughDropdown();

About

Component for easy dropdowns

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published