Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/redwebcreation/tailwindcss-no-scrollbar

This plugin exposes a class that hides the browser's default scrollbar using various tricks.
https://github.com/redwebcreation/tailwindcss-no-scrollbar

package scrollbars tailwindcss tailwindcss-plugin

Last synced: 3 months ago
JSON representation

This plugin exposes a class that hides the browser's default scrollbar using various tricks.

Lists

README

        

# TailwindCSS plugin for removing scrollbars
This plugin exposes a class that hides the browser's default scrollbar using various tricks

## Installation
```bash
npm install --save-dev tailwindcss-no-scrollbar
```
or
```bash
yarn add -D tailwindcss-no-scrollbar
```

## Usage
````js
// tailwind.config.js
module.exports = {
plugins: [
require('tailwindcss-no-scrollbar')
]
}
````

Then, add `.scrollbar-none` on the overflowing element.

```html


Some long text which will overflow for sure. Please is it enough? Surely.

```