@vcl/scrollbar

Styling of native browser scrollbars


Keywords
css, vcl, component, scrollbar
License
MIT
Install
npm install @vcl/scrollbar@0.7.0-alpha.1

Documentation

VCL scrollbar

Styling of native browser scrollbars.

Features

Defines the appearance of native scroll bars.

Usage

Any native scrollbar is styled according to this module, no classes need to be set. Works only for Webkit/ Blink based browsers.

basic example

Classes

Modifiers

Variables

  • --scrollbar-width
  • --scrollbar-bg-color
  • --scrollbar-thumb-bg-color
  • --scrollbar-track-bg-color

Demo

example.html on GH-pages.