🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

tailwindcss-no-scrollbar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwindcss-no-scrollbar

Exposes a class that hides the browser's default scrollbar using various tricks

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

TailwindCSS plugin for removing scrollbars

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

Installation

npm install --save-dev tailwindcss-no-scrollbar

or

yarn add -D tailwindcss-no-scrollbar

Usage

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

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

<div class="overflow-x-auto whitespace-nowrap w-24 scrollbar-none">
    Some long text which will overflow for sure. Please is it enough? Surely.
</div>

Keywords

CSS

FAQs

Package last updated on 10 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts