CSS customized scroll bar in div

后端 未结 19 1363
夕颜
夕颜 2020-11-21 11:05

How can I customize a scroll bar via CSS (Cascading Style Sheets) for one div and not the whole page?

相关标签:
19条回答
  • 2020-11-21 12:01

    For people still looking for a good solution just I find out this plugin simplebar

    Custom scrollbars vanilla javascript library with native scroll, done simple, lightweight, easy to use and cross-browser.

    In my case, I was looking for reactJS solutions, the author also provides wrappers for react, angular, vue and next examples

    0 讨论(0)
提交回复
热议问题