Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chantastic/popover.css
popover styles
https://github.com/chantastic/popover.css
Last synced: 29 days ago
JSON representation
popover styles
- Host: GitHub
- URL: https://github.com/chantastic/popover.css
- Owner: chantastic
- License: mit
- Created: 2015-05-07T05:18:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-27T16:56:30.000Z (over 9 years ago)
- Last Synced: 2024-10-01T19:15:25.782Z (about 1 month ago)
- Language: CSS
- Size: 148 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# popover.css
## usage
This is the minimum markup required for this popover implementation.
```html
Some content
popover
```#### colorbar
You can also add a `colorbar` in two steps.
* add `
` as the first-child of your
`.popover`
* add the data-attribute `data-popover="colorbar"` to your `.popover`Here's an example.
```html
trigger content
popover content
```#### dark-border
Depending on the color you're using, you might need to add contrast to the
popover border. add the data-attribute `dark-border` for that.```html
...
```## Questions?
Just hit me up: [@chantastic](http://twitter.com/chantastic).