а

Styling scrollbar


#1

Hi,

Any way to style the scrollbar? Or what should be the correct CSS to style it?

Thanks.


#2

Hi Joseph,

Scrollbars are implemented via ‘overflow:auto’ element, so usual ::-webkit-scrollbar settings should work: http://snippet.dhtmlx.com/fe8346a52 (please check HTML tab)
Here are some details regarding this approach:
https://scotch.io/tutorials/customize-the-browsers-scrollbar-with-css

It’s not fully browser compatible but should work at least in Chrome and Safari https://caniuse.com/#feat=css-scrollbar

Best,


#3

Hi @Aliaksandr,

Thank you for the quick response.

Will give it a try.