https://github.com/chantastic/dropdown.css
css dropdown WIP
https://github.com/chantastic/dropdown.css
Last synced: 2 months ago
JSON representation
css dropdown WIP
- Host: GitHub
- URL: https://github.com/chantastic/dropdown.css
- Owner: chantastic
- Created: 2014-12-24T00:27:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T22:30:20.000Z (about 9 years ago)
- Last Synced: 2026-01-27T02:12:50.360Z (5 months ago)
- Language: JavaScript
- Size: 93.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
# WIP
This is a work in progress. I'll take the big WIP off when it's worth using.
Until then, feel free to make suggestions.
## About
This is a basic css dropdown. My goal is to use the aria API effectively, such
that using the default styles gets you good aria for free.
## Usage
### Copy/paste CSS file
The easiest way is to simply copy this file into your project:
[./css/dropdown.css](https://github.com/chantastic/dropdown.css/blob/master/dst/dropdown.css)
### Node
If you're using a node-based build system, you can `npm i dropdown.css` in your
project and link to it locally `./node_models/dropdown.css/css.dropdown.css`.
## Features
You can see the working sample here:
See a working example in
[./examples/index.html](https://github.com/chantastic/dropdown.css/blob/master/examples/index.html).
This depends on some custom JavaScript. I'm [doing
this](https://github.com/chantastic/dropdown.css/blob/master/examples/js/dropdown.js)
for the sake of demo.
## Reference
See
[reference.markdown](https://github.com/chantastic/dropdown.css/blob/master/reference.markdown).