Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# TailwindCSS plugin for removing scrollbars
![Download Count (30k)](https://img.shields.io/npm/dt/tailwindcss-no-scrollbar)

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.

```