首页新闻招聘找找看知识库

火狐浏览器下,原生滚动条的样式可设置吗?

0
[待解决问题]

火狐浏览器下,原生滚动条的样式可设置吗?

css
小鹿姐姐的主页 小鹿姐姐 | 菜鸟二级 | 园豆:252
提问于:2017-11-14 18:26
< >
分享
所有回答(2)
0

参考 Change scrollbar width of mozilla firefox browser

You can't style the scrollbars in Firefox with CSS. People have been asking for this since Firefox was first released, but it's still not available:
77790 – (scrollbar-colors) Style the scrollbar (binding ::-moz-horizontal-scrollbar to XBL)[^]

The only way to get a custom scrollbar is to completely replace the scrollbar via Javascript. There are various plugins to do this - for example:
dudu | 园豆:32931 (高人七级) | 2017-11-15 10:01
0

http://blog.csdn.net/hanshileiai/article/details/40398177      参考这个就完事了

我又不喜欢下雨 | 园豆:224 (菜鸟二级) | 2017-11-17 14:52
   您需要登录以后才能回答,未注册用户请先注册