tailwindcss-mac-scrollbar
v1.0.5
Published
A Tailwind CSS plugin for creating beautiful scroll bar
Downloads
22
Readme
tailwindcss-mac-scrollbar
- npm https://www.npmjs.com/package/@hyeon/mac-scrollbar
- github https://github.com/Hansanghyeon/mac-scrollbar
preview
tailwind plugin 사용하기
해당플러그인을 적용하면 기본적으로 모든 스크롤바에 스타일이 변경된다.
npm install -D tailwindcss-mac-scrollbar
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
plugins: [
require('tailwindcss-mac-scrollbar')
],
}
<div class="mac-scrollbar mac-scrollbar-x mac-scrollbar-y scrollbar-hidden">test</div>