搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Custom Scrollbars in Firefox using HTML and CSS

  • 2 个回答
  • 54 人有此问题
  • 16 次查看
  • 最后回复者为 FredMcD

more options

With the updated Firefox I can no longer use my custom css scrollbars. Are the completely gone or is there a new way to build them?

               ::-webkit-scrollbar {

width: 5px; }

/* Track */ ::-webkit-scrollbar-track { /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);*/ -webkit-border-radius: 0px; background-color:#fff; border-radius: 0px; }

/* Handle */ ::-webkit-scrollbar-thumb { -webkit-border-radius: 0px; border-radius: 0px; background:#fc8a3a;

}

With the updated Firefox I can no longer use my custom css scrollbars. Are the completely gone or is there a new way to build them? ::-webkit-scrollbar { width: 5px; } /* Track */ ::-webkit-scrollbar-track { /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);*/ -webkit-border-radius: 0px; background-color:#fff; border-radius: 0px; } /* Handle */ ::-webkit-scrollbar-thumb { -webkit-border-radius: 0px; border-radius: 0px; background:#fc8a3a; }

所有回复 (2)

more options

Pseudo selectors that start with ::-webkit do not work in Firefox (Firefox would use the ::-moz prefix). In Firefox it is not possible to modify or style the scroll bars via CSS code. Webkit is used by browsers like Google Chrome.

more options

See if this works;

NewScrollbars (aka NoiaScrollbars) {web link} The "NewScrollbars"-extension replaces the default scrollbars of Firefox and Thunderbird with colorized ones (partly) known from "Noia themes".