Scroll

The scroll utility provides styles to allow horizontal and vertical scrolling of an element.

Usage

To make an element scroll, add the .cwf-scroll class to it and either the .cwf-scroll--x or .cwf-scroll--y classes to enable horizontal or vertical scrolling respectively.

Examples

Horizontal

This paragraph is within a div with horizontal scrolling enabled (.cwf-scroll.cwf-scroll--x).

Vertical

This paragraph is within a div with horizontal scrolling enabled (.cwf-scroll.cwf-scroll--y).