Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1 KB

README.md

File metadata and controls

30 lines (18 loc) · 1 KB

ElementStacks for jQuery

ElementStacks stacks elements/images on top of each other with a funky transition.

jQuery version of ElementStacks by Oskar Krawczyk.

Demo

http://www.jsfiddle.net/marcofucci/rRtAq/

Dependencies

How to use

$(<wrapper>).elementStacks();

Options

  • itemsSelector: selector for the stackItems inside your wrapper. Default img.
  • rotationDeg: degree of the rotation. Default 20.
  • delay: delay between the animation of the elements. Default 40.
  • duration: duration of the animation for each element. Default 900.
  • transition: the name of the easing effect that you want to use. Default swing.

License

ElementStacks is licensed under MIT.