/FoldScroll

Experimental CSS 3D scroll behavior

Primary LanguageJavaScript

FoldScroll

An experimental CSS 3D scroll behavior jQuery plugin.

See the demo

Example:

$( '.container' ).foldscroll({
    
    // Perspective to apply to rotating elements
    perspective: 600,

    // Default shading to apply (null => no shading)
    shading: 'rgba(0,0,0,0.2)',
    
    // Area of rotation (fraction or pixel value)
    margin: 0.2
});