cus-scroll

1.1.5 • Public • Published

cus-scroll

Customized Scroll bar.
To see some demos, check out here.

Install

npm

npm install cus-scroll

Unpkg

<script src="https://unpkg.com/cus-scroll@1.1.5/cus-scroll.min.js"></script>

Set up

HTML

<div id="myCusScroll">
  <!-- .... -->
</div>

Javascript

import CusScroll from "cus-scroll";
 
new CusScroll('#myCusScroll');

CSS

Add any your custom css what you want, you can see my example css.

Package Sidebar

Install

npm i cus-scroll

Weekly Downloads

9

Version

1.1.5

License

MIT

Unpacked Size

12.6 kB

Total Files

7

Last publish

Collaborators

  • happyjayxin