tailwind-scrollbar
tailwind-scrollbar copied to clipboard
Suggestion: scrollbar-thumb-border
scrollbar-thumb-border-*
Eg: scrollbar-thumb-border-4
Adds a 4px border to the scrollbar-thumb. By default same color as track background.
::scrollbar-track {
background: var(--scrollbar-track-color);
}
::scrollbar-thumb {
border:
var(--scrollbar-thumb-border-width, 0px) solid
var(--scrollbar-thumb-border-color, var(--scrollbar-track-color, initial));
}
Could also add support for changing the border color just for the sake of completeness.
Eg: scrollbar-thumb-border-red-500