Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 520 Bytes

File metadata and controls

31 lines (19 loc) · 520 Bytes

Stickish

Instagram Sticky Header for Web

Basic Usage:

.sticky are the target elements you want to behave like instagram sticky headers.

$(document).ready(function() {

    // initialize plugin
    $('.sticky').stickish();

});

... and for its Basic stylesheet you can add:

    <link href="path_to/stickish.css" rel="stylesheet">

Roadmap:

  • On resize re-init stickish

Demo:

Sample sticky headers