Skip to content

Commit d06482b

Browse files
committed
added live demo to readme
1 parent 2a6ebd3 commit d06482b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Tailwindcss plugin to customize browser scrollbar.
66
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@gradin/tailwindcss-scrollbar)
77
![npm](https://img.shields.io/npm/dw/@gradin/tailwindcss-scrollbar)
88

9+
[Live Demo](https://play.tailwindcss.com/SeDSnfsxrR)
10+
911
## Installation
1012

1113
```sh
@@ -25,14 +27,13 @@ module.exports = {
2527
},
2628
plugins: [
2729
require('@gradin/tailwindcss-scrollbar')({
28-
size: '5px',
30+
size: '5px', // width or height, default '5px'
2931
colors: {
3032
track: 'lightgray', // default '#f1f1f1'
3133
thumb: 'gray', // default '#c1c1c1'
3234
thumbHover: 'darkgray', // default '#a8a8a8'
3335
}
3436
}),
35-
// ...
3637
],
3738
}
3839
```

0 commit comments

Comments
 (0)