Fade Scroll

Mask Demo

Fade Scroll uses CSS masks to blend seamlessly with any background.

Horizontal Fade Scroller

The CSS can be changed to use linear gradients for better compatibility if the background is a solid color.


Basic Usage

Horizontal

Horizontal Fade Scroller

Vertical

Vertical Fade Scroller


Hidden Scrollbars

To hide the scrollbar, set hideScrollbar: true in the options.

Horizontal

Horizontal Fade Scroller

Vertical

Vertical Fade Scroller

But how to scroll sideways without a visible scrollbar? Some input devices come with a mechanism to scroll sideways — otherwise the “usual” way to scroll sideways is by holding the Shift key while spinning the mouse wheel, but there is another way…


Sideways Scrolling with Mouse Wheel

Users may prefer to scroll sideways by using the mouse wheel normally, especially when the scrollbar is not visible. To enable this behaviour, set captureWheel: true in the options. This will translate mouse wheel movement to horizontal scrolling.

Horizontal Fade Scroller


Horizontal Examples

Breadcrumb Navigation

Tab Navigation


Vertical Examples

Table of Contents Navigation

Section 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Section 2

Suspendisse ac sagittis lacus. In sagittis eleifend risus quis ullamcorper.

Section 3

Cras vel nunc id purus pellentesque tincidunt nec convallis nisl.

Section 4

Duis nec volutpat est, eu vulputate est. Duis nec dictum ipsum.

Section 5

Aenean volutpat neque nec massa mattis facilisis eget nec erat.

Hamburger / Mobile Navigation

Home

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Products

Suspendisse ac sagittis lacus. In sagittis eleifend risus quis ullamcorper.

Deals

Cras vel nunc id purus pellentesque tincidunt nec convallis nisl.

Contact

Duis nec volutpat est, eu vulputate est. Duis nec dictum ipsum.

About

Aenean volutpat neque nec massa mattis facilisis eget nec erat.