使用CSS设置滚动条样式 [英] Styling scroll bars with CSS
本文介绍了使用CSS设置滚动条样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试在线搜索,但我没有找到任何有益的来源。有没有办法用纯CSS样式滚动条来使它与最大数量的浏览器兼容?
I tried searching online but I didn't find any good sources on this. Is there a way to style scroll bars with pure CSS so that it is compatible with a maximum number of browsers?
推荐答案
请注意,这些是不是标准属性。
但是,你可以用JavaScript实现这个。执行此操作的一个项目是 jScrollPane 。
However, you can achieve this with JavaScript. One project that does this is jScrollPane.
这篇关于使用CSS设置滚动条样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文