https://github.com/yowainwright/sticky-bits
This project became stickybits => npm stickybits
https://github.com/yowainwright/sticky-bits
Last synced: 11 months ago
JSON representation
This project became stickybits => npm stickybits
- Host: GitHub
- URL: https://github.com/yowainwright/sticky-bits
- Owner: yowainwright
- License: mit
- Created: 2016-06-18T19:19:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T20:10:12.000Z (about 6 years ago)
- Last Synced: 2025-02-01T21:03:31.065Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://github.com/dollarshaveclub/stickybits
- Size: 30.8 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sticky Bits
> Sticky stuff for webpages
## Why?
Because. =] Also, Sticky Bits is meant to do one thing - stick navs or other block elements to the top of the browser when scrolling vertically.
## TODOS
- Add throttling &/or debouncing for window scroll & resize (maybe) or maybe remove window functionality all together to allow you to control that
- Support bottom & stop sticky positioning (maybe)
- Support on, of or destroy (maybe)
## Demo
[Sticky Bits](http://codepen.io/yowainwright/pen/XKyLwz)