Projetos
Ver no GitHub
adoxography/tailwind-scrollbar
Sobre
Plugin de barra de rolagem para o Tailwind CSS
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +1
- em 15 dias
- +1
- em 1 mês
- +1
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalScrollbar Plugin for Tailwind CSS
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
- 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
- Add the plugin to your Tailwind config
@import 'tailwindcss';
/* ... */
@plugin 'tailwind-scrollbar';
Usage
See the documentation.
License
This project is licensed under the MIT License.
Explore projetos relacionados
Carregando…