This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Custom Scrollbars in Firefox using HTML and CSS

  • 2 replies
  • 54 have this problem
  • 1 view
  • Last reply by 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; }

All Replies (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".