Skip to main content

Class-scroll

Utilities for controlling how an element is scrolled in the DOM.

Use the scroll utilities to control the scroll of an element.

Table list scroll​

Class nameProperties
scroll ::-webkit-scrollbar {display: none);

The table above presents several types of scroll with different variants.

Example Code​

index.html
<!-- add a scroll class to body tag -->
<body class="scroll">