首页 新闻 会员 周边 捐助

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

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 | 园豆:29737 (高人七级) | 2017-11-15 10:01
-1

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

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