Skip to content

Commit

Permalink
Cleaned up README
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed May 2, 2013
1 parent e7af82e commit cf929f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,13 +1,13 @@
position: sticky; The polyfill!
========================

This shim/polyfill is based on [this](http://codepen.io/FWeinb/details/xLakC) polyfill, except my version has no dependencies. Yay! Additionally, this polyfill will add a class "stuck" when in the sticky position (and remove it when not).
This shim/polyfill is based on [this polyfill](http://codepen.io/FWeinb/details/xLakC), except my version has no dependencies. Yay! Additionally, this polyfill will add a class `.stuck` when in the sticky position (and remove it when not).

### Usage
Simply include the polyfill:

``` html
<script src="sticky.js"></script>
<script src="sticky.js"></script>
```

And that's it. Simply use CSS as you normally would, for example:
Expand Down

0 comments on commit cf929f1

Please sign in to comment.