3.1.0 • Published 3 months ago

tailwind-scrollbar v3.1.0

Weekly downloads
2,018
License
MIT
Repository
github
Last release
3 months ago

Scrollbar Plugin for Tailwind CSS

Tests Codacy Badge npm

tailwind-scrollbar is a plugin for Tailwind CSS that adds styling utilities for scrollbars with cross-browser support.

Motivation

There are currently two competing standards for styling scrollbars amongst browsers: the scrollbar-width and scrollbar-color properties used by Firefox and newer Chromium-based browsers, and the ::-webkit-scrollbar family of pseudoelements used by everything else. This plugin defines a single API for configuring both standards at once from within Tailwind.

Installation

  1. Add the package to your project
# npm
npm install --save-dev tailwind-scrollbar
# yarn
yarn add -D tailwind-scrollbar
# pnpm
pnpm add -D tailwind-scrollbar
  1. Add it to the plugins array of your Tailwind config
module.exports = {
    // ...
    plugins: [
        // ...
        require('tailwind-scrollbar'),
    ],
};

Usage

See the documentation.

License

This project is licensed under the MIT License.

3.1.0

3 months ago

3.1.0-rc.0

3 months ago

3.0.5

9 months ago

3.0.4

12 months ago

3.0.3

12 months ago

3.0.2

12 months ago

3.0.1

12 months ago

3.0.0

1 year ago

2.1.0-preview.0

2 years ago

2.1.0

1 year ago

1.3.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.4

3 years ago

1.0.2

3 years ago

1.2.3

3 years ago

1.2.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago