StickyStack.js

A jQuery plugin that creates a stacking effect by sticking panels as they reach the top of the viewport.


Long pages feel like a stack of cards

Usage

$('.main-content-wrapper').stickyStack();
      

Options

$('.main-content-wrapper').stickyStack({
  containerElement: '.main-content-wrapper',
  stackingElement: 'section',
  boxShadow: '0 -3px 20px rgba(0, 0, 0, 0.25)'
});
      

Enjoy.

by mike zarandona